is there anything like nodemon that works on .ejs file changes?
nodemon will detect changes in .js or .coffee files and restart your node app. But it won't detect changes to view files. I've emailed author, but they are unresponsive.
While Nodemon is running, we can manually restart our application. So instead of stopping and restarting Nodemon, we can just type rs and press enter, and Nodemon will restart the server or the running process for us.
nodemon is a command-line interface (CLI) utility developed by @rem that wraps your Node app, watches the file system, and automatically restarts the process.
nodemon is a tool that helps develop Node.js based applications by automatically restarting the node application when file changes in the directory are detected. nodemon does not require any additional changes to your code or method of development. nodemon is a replacement wrapper for node .
Maybe this wasn't implemented when you posted the question, but you simply pass the option
-e coffee,js,ejs
See the docs: https://github.com/remy/nodemon
supervisor
is an alternative, but when I last used it, it was eating CPU. That may have been fixed by now, but I'd stick with nodemon
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With