Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the end message pattern and the readme for changes in webpack 5 #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The following example shows how to add problem matchers to your project:
}
```

👉 In order for **\$ts-webpack-watch**, **\$ts-checker-webpack-watch**, **\$ts-checker-eslint-webpack-watch**, and **\$tslint-webpack-watch** to work properly, you must add `--info-verbosity verbose` to your webpack watch command e.g. `webpack --watch --info-verbosity verbose` as this instructs webpack to output lifecycle event messages for each re-compile
👉 In order for **\$ts-webpack-watch**, **\$ts-checker-webpack-watch**, **\$ts-checker-eslint-webpack-watch**, and **\$tslint-webpack-watch** to work properly in webpack version 4, you must add `--info-verbosity verbose` to your webpack watch command e.g. `webpack --watch --info-verbosity verbose` as this instructs webpack to output lifecycle event messages for each re-compile. (This is not needed in webpack version 5 and webpack version 5 does not support the --info-verbosity command line option.)

👉 In order for **\$ts-checker5-webpack**, **\$ts-checker5-webpack-watch**, **\$ts-checker5-eslint-webpack**, and **\$ts-checker5-eslint-webpack-watch** to work properly, you must set `formatter: 'basic'` in your [fork-ts-checker-webpack-plugin options](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/tree/alpha#options) and add `--info-verbosity verbose` to your webpack watch command e.g. `webpack --watch --info-verbosity verbose` as this instructs webpack to output lifecycle event messages for each re-compile

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"regexp": "Compiling.*?|Compilation .*?starting"
},
"endsPattern": {
"regexp": "Compiled .*?successfully|Compilation .*?finished"
"regexp": "Compiled .*?successfully|Compilation .*?finished|webpack .* compiled with.* in "
}
}
},
Expand Down Expand Up @@ -106,7 +106,7 @@
"regexp": "Compiling.*?|Compilation .*?starting"
},
"endsPattern": {
"regexp": "Compiled .*?successfully|Compilation .*?finished"
"regexp": "Compiled .*?successfully|Compilation .*?finished|webpack .* compiled with.* in "
}
}
},
Expand Down Expand Up @@ -145,7 +145,7 @@
"regexp": "Compiling.*?|Compilation .*?starting"
},
"endsPattern": {
"regexp": "Compiled .*?successfully|Compilation .*?finished"
"regexp": "Compiled .*?successfully|Compilation .*?finished|webpack .* compiled with.* in "
}
}
},
Expand Down