Save button feature

#1

Instead of it auto-saving every keystroke. You can have a box to disable/enable this. Then you can have a Save button to save and upload. This is for instance good when working with big Discord Bots and updating them.

#2

at the moment you can add this as watch.json in your projects root :

{
  "install": {
    "include": [
      "^package\\.json$",
      "^\\.env$"
    ]
  },
  "restart": {
    "exclude": [
      "^public/",
      "^dist/"
    ],
    "include": [
      "\\.js$",
      "\\.json"
    ]
  },
  "throttle": 100000000
}

If I worked on it and changed anything I just delete a 0 from the throttle and add one again. The project will then auto update. But a button feature for pushing to save would be neat

#3

Hey @yezzl, you could also take a look at https://glitch.com/~no-autorestart.

#4

Where does one save it in here?

#5

If you’re asking about what @JaielSoft pointed out you can put this in a file called watch.json in the root of your project’s filesystem.

The ~no-autorestart project has directions in it. If those are difficult to follow let me know and we’ll see if we can clarify them!