bodote

Results 22 comments of bodote

found a workaround : `--inPlace` prevents that bug from happening.

...and here is the log file [stryker1.log](https://github.com/stryker-mutator/stryker-js/files/9411378/stryker1.log)

specifically the `--ignorePattern= ` does not work with the workaround mentioned above `--inPlace`. because the thing is, that the command line: ` stryker run --ignorePatterns='**','!src/**/search.effects.ts' --fileLogLevel=trace` leads to strange type-errors...

problem persists after update all npm packages

what I found out so far with the debugger: apearantly the content of the `--ignore-pattern` commandline option is already used here: ``` resolveInputFileNames (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/fs/project-reader.ts:194) await (Unknown Source:0) read (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/fs/project-reader.ts:53) execute...

even if i try this: `stryker run --ignorePatterns='src/app/**','!src/app/search/search*.ts'` then i got this output: ``` [0834][bodo.teichmann@ba-mb-006:~/dev/learning/angular_buch/book-monkey]$ stryker run --ignorePatterns='src/app/**','!src/app/search/search*.ts' 08:35:21 (27116) WARN ProjectReader Glob pattern "!src/**/*.module.ts" did not exclude any files....

instead `stryker run --mutate='src/**/search*.ts'` seems to work just fine. - Which leads to the question, what is the "--ignorePatters" option good for anyway? - Why is "--ignorePatters" option recommended as...

however `--mutate` used on the command line seems to **replace** all patters defined in `mutate` in the `stryker.conf.json` instead to complement those patterns. that leads to the following problem: when...

Summary of my findings : TL;DR: the problem might be the documentation. Because: What I was trying to do is to mutate just one specific file in my project. The...