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
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
Generate a brand new project ng new project
Select scss and all other defaults
run npm start
any changes 4.a change *.ts 4.b change *.html 4.c change *.css
save file
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
The dev server isn't picking up changes to ts, html and scss at all.
Do you have some solution?
Ruslan Katz
пт, 10 нояб. 2023 г. в 17:38, Michael Guay ***@***.***>:
cannot confirm 100%. watch and reload works for me on apple silicon with node 20.9 and [email protected], BUT it seems not to recover from broken scss (angular-sass) code
does not recover from error after fix and save for (s)css files
broke scss, saved, fixed, saved,... will not recover from error
I am also facing the same issue, it sometimes work and sometimes it doesn't. Most of the times it detect changes a few times and then suddenly stops deteting the changes.
BUT it seems not to recover from broken scss (angular-sass) code
This is exactly what I'm experiencing as well. Changes to .scss files are compiled by the CLI successfully and loaded correctly in the browser until there's a compilation error. Once you fix that compilation error in the file, the CLI continues to report a compilation error.
In my case, a similar problem began to occur after migrating to application builder (it was fine while using webpack). It turned out that the server did not detect file changes when the source directory name started with a dot (.). Changing the folder name so that it does not start with a dot solved the problem for me
Activity
alan-agius4 commentedon Nov 10, 2023
Can you please provide the output of
ng versionKatzRuslan commentedon Nov 10, 2023
KatzRuslan commentedon Nov 10, 2023
janerikmai commentedon Nov 10, 2023
cannot confirm 100%. watch and reload works for me on apple silicon with node 20.9 and [email protected], BUT it seems not to recover from broken scss (angular-sass) code
does not recover from error after fix and save for (s)css files
broke scss, saved, fixed, saved,... will not recover from error
naveedahmed1 commentedon Nov 10, 2023
I am also facing the same issue, it sometimes work and sometimes it doesn't. Most of the times it detect changes a few times and then suddenly stops deteting the changes.
reduckted commentedon Nov 12, 2023
This is exactly what I'm experiencing as well. Changes to
.scssfiles are compiled by the CLI successfully and loaded correctly in the browser until there's a compilation error. Once you fix that compilation error in the file, the CLI continues to report a compilation error.Alecto commentedon Nov 13, 2023
Confirm the same issue
WDrzewiecki commentedon Nov 14, 2023
In my case, a similar problem began to occur after migrating to application builder (it was fine while using webpack). It turned out that the server did not detect file changes when the source directory name started with a dot (.). Changing the folder name so that it does not start with a dot solved the problem for me
angular-automatic-lock-bot commentedon Dec 16, 2023
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.