A console app demo using React for rendering, animation, and hot reloading
by gaearonJavaScript
Last 12 weeks · 0 commits
2 of 6 standards met
Repository: gaearon/react-blessed-hot-motion. Description: A console app demo using React for rendering, animation, and hot reloading Stars: 276, Forks: 17. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 0, open issues: 1. Last activity: 8y ago. Community health: 42%. Top contributors: jlongster, gaearon, chentsulin, lewiscowper.
Hi Dan, thanks for putting this demo together! I am developing a console app and need to handle key events. By default nodemon eats all the keystrokes (so that it allows explicit restart by typing ) and keys do not work in the app. This PR fixes that by making nodemon to forward key events to the app and also fixes exiting so that when you type or the app exits (using exit code 2 which makes nodemon to quit, otherwise the app would quit but nodemon would spawn it again).
Hello @gaearon. Your experiment really impressed me and so I wanted to try designing a tool for easy backend HMR. I therefore tried to fiddle a version of using kotatsu. There are still some issues, notably Yomguithereal/kotatsu#59 and Yomguithereal/kotatsu#60 (which means you have to hit C-c twice) but thanks to your app I was able to spot those issues and will be able to fix them in the future. Anyway, thank you and have a good day :).