Add an explicit --poll option to the CLI (#7725)

* Refactor

* Allow user to enable polling

* Update changelog
This commit is contained in:
Jordan Pittman 2022-03-02 11:16:06 -05:00 • committed by GitHub
parent f6793628a8
commit ee945bbea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 7 deletions

View file

@ -291,6 +291,7 @@ describe('Build command', () => {
-i, --input Input file
-o, --output Output file
-w, --watch Watch for changes and rebuild as needed
-p, --poll Use polling instead of filesystem events when watching
--content Content paths to use for removing unused classes
--postcss Load custom PostCSS configuration
-m, --minify Minify the output