Closed distante closed 3 years ago
I am using npm-watch to trigger changes on my src folder, but I also have there some test files in this way:
src
myFile.ts myFile.spec.ts
currently I have this config
"transpile-dev": { "patterns": [ "src" ], "extensions": "ts", "delay": 1000, "runOnChangeOnly": true }
but a change in a spec file trigger that task and I want to prevent this. Is there a way to do it?
sure, this config should work
"transpile-dev": { "patterns": [ "src" ], "extensions": "ts", "delay": 1000, "runOnChangeOnly": true, "ignore": [ "*.spec.ts" ] }
I am using npm-watch to trigger changes on my
src
folder, but I also have there some test files in this way:currently I have this config
but a change in a spec file trigger that task and I want to prevent this. Is there a way to do it?