Throttle in package.json not working

{
  "name": "gli-forktery",
  "version": "0.0.1",
  "description": "A place for me to play with CRUD",
  "main": "server.js",
  "scripts": {
    "start": "node server.js"
  },
  "dependencies": {
    "express": "^4.17.1",
    "ws": "^7.2.3",
    "mongodb": "^3.5.5",
    "body-parser": "^1.19.0"
  },
  "engines": {
    "node": "12.x"
  },
  "repository": {
    "url": "https://glitch.com/edit/#!/gli-forktery"
  },
  "license": "MIT",
  "keywords": [
    "node",
    "glitch",
    "express",
    "mongodb"
  ],
  "throttle": 900000
}

I put throttle into my package file to stop my app from restarting every time I type. However, that is exactly what happens. how can I fix this?

Hey @CarlyRaeJepsenStan,

You need to add the throttle in a file called watch.json instead of package.json. See ~watch-json for more info!

1 Like

Thanks! That did the trick.