index.html changes not picked up by ng build --watch #23851
Labels
area: @angular-devkit/build-angular
devkit/build-angular:browser
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
build
Is this a regression?
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 usingng 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 usingng serve
does cause a rebuild.Exception or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: