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
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Hello.
I am using WSL2 ubuntu to make an angular app.
The app does not reload after I make any change in any file.
But when I delete package-lock and node_modules, and run npm install again in Windows and not in WSL2, and run the app then make a change, it works perfectly fine.
Thank you!
Minimal Reproduction
In wsl2, I installed angular cli by npm i -g @angular/cli
ng new
npm run start/ng serve
The app runs, but when I make a change in the title property in the app.component.ts file, the changes do not reflect automatically.
The terminal just always looks like this whenever I make a change in html or ts files. No error in browser console as well.
This issue has surfaced previously, and it appears that Angular CLI might not be the culprit; instead, it seems to be a bug within WSL2. For further details, you can refer to the discussion here: microsoft/WSL#4739
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Hello.
I am using WSL2 ubuntu to make an angular app.
The app does not reload after I make any change in any file.
But when I delete package-lock and node_modules, and run npm install again in Windows and not in WSL2, and run the app then make a change, it works perfectly fine.
Thank you!
Minimal Reproduction
The terminal just always looks like this whenever I make a change in html or ts files. No error in browser console as well.
Exception or Error
Your Environment
Anything else relevant?
I am using
I just want to reiterate that it works perfectly fine on Windows (after deleting node_modules and package-lock file and doing npm i) and not on wsl2.
Thank you!
The text was updated successfully, but these errors were encountered: