ng serve --poll
See original GitHub issueWas the --poll
flag removed in v6, or is that just an error in the newly committed docs? As per https://github.com/angular/angular-cli/issues/5212 it’s needed to support Docker on Windows, which is still the case as far as I’m aware.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
What is the function of --poll flag in CLI - Stack Overflow
I was searching a solution for an issue which is in my angular project, ng serve --watch was ...
Read more >ng serve - Angular
Option Description Value Type Default Value
‑‑hmr Enable hot module replacement. boolean false
‑‑host Host to listen on. string localhost
‑‑open Opens the url in default...
Read more >Angular CLI - ng serve Command - Tutorialspoint
Sr.No. Option & Syntax Description
2 ‑‑aot=true|false Build using Ahead of Time compilation.
3 ‑‑baseHref=baseHref Base url for the application being built.
7 ‑‑deployUrl=deployUrl URL where...
Read more >Polling in Angular - Medium
Open command prompt & navigate to the project directory using the cd command. Type ng serve in command prompt. After successful compilation, navigate...
Read more >ng serve - Angular
Enables optimization of the build output. --poll. Enable and define the file watching poll time period in milliseconds. --port.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeap, it should be on the next release of
@angular-devkit/build-angular
!The new option is better than the old: it takes an argument for the milliseconds time to wait between polls. (You can see this in the commit referenced above.) However, if you simply pass --poll it has no default so it appears as if it is not working…
^ Works as expected in vagrant on win10 host
^ Does no polling, so perhaps a sensible default should be added? 500 or 1000 ms?