When I edit files in a project, the Node process usually reloads my server. However, if I edit anything inside the project’s public/
directory, it does not reload Node. My Node server code relies on some code inside public/
. Is there a way to make Glitch reload Node when I edit code inside of public/
?
With watch.json you can set wich files node will restart if they change.
1 Like