You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
index.html changes not picked up by ng build --watch #23851
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Touching the project index.html file does not rebuild the application when using ng build --watch.
It does rebuild when using ng serve.
Using ng build -c development --watch doesn't make a difference.
Minimal Reproduction
Create new workspace with ng new someapp, choose default settings.
Run cd someapp && ng build --watch and wait for build to finish.
In a separate terminal run touch src/index.html. Observe no rebuild is happening.
Whereas touching index.html when using ng serve does cause a rebuild.
Activity
fix(@angular-devkit/build-angular): watch index file when running bui…
fix(@angular-devkit/build-angular): watch index file when running bui…
angular-automatic-lock-bot commentedon Oct 3, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(@angular-devkit/build-angular): watch index file when running bui…