M-Zuber / npm-watch

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

global config that apply to every npm-watch scripts #91

Open Lionad-Morotar opened 2 years ago

Lionad-Morotar commented 2 years ago

Hello, is there any way to config once and works on every npm-watch scripts, such as:

{
    scripts: {
      test1: ...,
      test2: ...,
      watch:test1: npm-watch test1,
      watch:test2: npm-watch test2,
    },
    watchGlobalConfig: {
      patterns: ...,
      ignore: ...
    }
}
M-Zuber commented 4 months ago

This is not currently supported, but I am open to a PR for this feature