node.js - how to do nodejs hot deployment in nodeclipse , enide studio, express server? -
i debugging application in nodeclispe/ enide studio. wish change js files on go while express server running, instead of doing server restart. how can that?
since debugging application best can use module nodemon, module watches folder files change when file changes application automatically redeployed.
to install nodemon use command, install globally:
npm install nodemon -g
to execute cli use
nodemon --debug app.js
ps: have in mind when redeployed memory of process flushed , not use nodemon under production environment.
Comments
Post a Comment