M-Zuber / npm-watch

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

globalConfig #90

Closed Lionad-Morotar closed 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: ...
    }
}
Lionad-Morotar commented 2 years ago

sry, closed. the same as: #91