Ability to Stop/Start project

Most hosting service give users the ability to manually stop or start their projects - either because we use pm2 or nodemon, or because the UI gives us that ability. I haven’t found this in Glitch. Perhaps this would be one way to be able to edit with auto-save without causing side-effects, and we can just start the project manually when we need it?

In the meantime my workaround is to create a “fake.js” file and to manually change the start script to point to that, which only does a console.log.

3 Likes