Closed wh1337 closed 2 years ago
can we include hot reloading for /public and /views? Specifically looking at client.js, styles.css, index.ejs
can we include hot reloading for /public and /views? Specifically looking at client.js, styles.css, index.ejs
Of course! Let me get that updated and push it up
nodemon
nodemon.json
for configurationdev
to start the nodemon serviceRun
npm run dev
to start the nodemon listener. Code as normal, each time you save a file, the application will automatically restarat, thus reducing the need to manually stop and start the server each time you make a change. Should have no impact on production, this is purely a quality of life improvement for development.Output: