test: fix several Bazel compiler tests in windows (#30146)

```
//packages/compiler-cli/test:ngc
//packages/compiler/test:test
```

This also address `node_modules` to the ignored paths for ngc compiler as otherwise the `ready` is never fired

Partially addresses #29785

PR Close #30146
This commit is contained in:
Alan Agius
2019-04-26 15:29:27 +02:00
committed by Alex Rickabaugh
parent 7569a2e0d9
commit 31df5139c5
4 changed files with 8 additions and 6 deletions

View File

@ -70,7 +70,7 @@ export function createPerformWatchHost(
const watcher = chokidar.watch(options.basePath, {
// ignore .dotfiles, .js and .map files.
// can't ignore other files as we e.g. want to recompile if an `.html` file changes as well.
ignored: /((^[\/\\])\..)|(\.js$)|(\.map$)|(\.metadata\.json)/,
ignored: /((^[\/\\])\..)|(\.js$)|(\.map$)|(\.metadata\.json|node_modules)/,
ignoreInitial: true,
persistent: true,
});