M-Zuber / npm-watch

run npm scripts when files change
MIT License
324 stars 38 forks source link

Unrecognized input: rs #74

Closed crystalfp closed 3 years ago

crystalfp commented 4 years ago

To restart npm-watch I tried to input nodemon's "rs", but it is not recognized:

[nodemon] starting `npm.cmd run -s build:client`
[nodemon] clean exit - waiting for changes before restart
rs
Unrecognized input: rs

Corresponding watch entry is:

    "build:client": {
      "patterns": [
        "client"
      ],
      "extensions": "ts",
      "delay": 1000
    },

Is there a way to restart watch without resorting to kill everything and relaunch? Thanks for clarifying! mario

M-Zuber commented 3 years ago

pushing a fix, thank you for reporting