Save button feature

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.

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

1 Like

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

Where does one save it in here?

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!

Changing the watch speed seems like a hacky workaround. @Vue/cli will auto update the page on changes, when you have console open on split view it means youll see tons of errors as you type.

Manual saving please

1 Like