Make the project only restart on save

Hello,
Making the project restarting on keypress is very very very annoying. Would there be a way to make it only restart on save?
Thanks

Hey @demostanis, this isn’t so much an issue with the extension as it is a core feature of how Glitch works. Neither Glitch nor the VS Code extension really have the concept of saving a file - all changes are “saved” immediately. This is central to the collaborative nature of editing Glitch projects, whether in the web Editor or in VS Code.

However, using a watch.json file you can control which files trigger an immediate restart, and you can also configure how often a project will restart no matter what file is edited. Take a look at https://glitch.com/~watch-json for an example, or if you want to make restarts completely manual https://glitch.com/~no-autorestart might be useful.

Happy Glitching!