How do I restart my node.js file every time when I update the file?


#1

I have a node.js file, how can I make node.js file restart when I update or change anything in the file?


#2

You can change refresh and restart behaviours by adding a watch.json file to your project. See https://glitch.com/faq#restart