-
Notifications
You must be signed in to change notification settings - Fork 12k
Docker on windows - Automatic rebuild not triggered on save from host #5212
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
Comments
With your setup you may need to use the '--poll' option with a reasonable value based on your needs (value is in milliseconds). |
Closing as working as intended. |
Thank you!!! that has solved the problem Legends :) |
'--poll' flag consumes a lot of cpu so this is not a solution. |
@Corsseir my 2 cents - this is OS specific and currently I don't believe there is a better way in this combination - docker + Windows |
Hm, ok. I though that Windows would be ok for web development since vagrant and docker but I was wrong. Its time to migrate to Linux I guess. |
--poll flag doesn't give any results at all, all ports opened, by changing template no webpack rebuild happens |
@Corsseir as he said , after '--poll' my pc consume lots of cpu. Are there any way to ho reloding an angular app with docker ? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Windows 10 + Docker CE Version 17.03.0-ce-win1 (10296) + node:latest
Versions.
Repro steps.
Run up a new docker container with a mounted drive from PowerShell
Install @angular/cli
create a new app
serve the app
make changes from a text editor in the host machine and save
the app does not re-transpile
Commands run are listed below (output removed for brevity)
Once the app is up and running I open the app folder with VSCode on my host machine and edit a file, for example removing the production mode check in main.ts and save the changes.
I would expect that this action triggers a rebuild of the app as happens when I do this right on the windows host machine
The log given by the failure.
Mention any other details that might be useful.
Following all of the steps performed inside the container on the host machine results in the expected behavior
The text was updated successfully, but these errors were encountered: