Is there a way to stop the server from evaluating code immediately?

I know you can uncheck “Refresh App on Changes” but that seems to only stop hot reloading if you are viewing your site in a new tab or window. Sometimes when I am typing code I don’t want it to run straight away.

I have found myself in an infinite loop sometimes that is hard to get out of. Also if working with the filesystem this could turn into a problem with possibly accidentally deleting files etc etc.

Thanks, Josh

Hi phocks, welcome to the Glitch community!

You can add a watch.json file for more fine-grained control over how your app refreshes. See for more details.

1 Like

Thanks so much. Exactly what I needed!