You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Project Editor > Can I change which files cause my app to restart?
Can I change which files cause my app to restart?

Yes, you can add a file called watch.json to your app, and the settings it contains will override the default install and restart trigger files and timings.

 

This means that you can specify:

  • Which files trigger a container restart or install when edited.
  • The delay-time between making edits and those changes being applied.

 

For more information, see watch-json. And here's an example of a project that disables auto-restart entirely.

Got more questions?  Check out our Community Forum

Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created.  It's the friendliest community of coders on the Web!


 
Feedback
1 out of 1 found this helpful

scroll to top icon