I'm using ng serve to get instant feedback while I'm developing but in some (unknown) situations the rebuilding isn't reliable. Sometimes I'm getting compile errors that I've already fixed. If I restart ng serve then the errors don't show up anymore.
This worsens developer productivity a lot because I spend time to find an error in my code that doesn't exist anymore until I remember to restart the build command.
OS?
Windows 8
Versions.
$ ng --version
@angular/cli: 1.0.0-rc.1
node: 7.1.0
os: win32 x64
Repro steps.
App was created using the CLI. I'm not able to reliable reproduce the problem. It sometimes happens and sometimes not.
However, these are the steps I'm doing:
- ng serve
- write some code and rebuilding works fine
- write an error in the code that produces a compile error
- fix the code
- The code is rebuild as expected but the compile error still shows up.
- kill ng serve and restart it
- The code compiles just fine.
The log given by the failure.
No specific error message.
Mention any other details that might be useful.
I've used version 1.0.0-beta.24 for a long time without such problems. Only after I updated to 1.0.0-rc.1 the problem started to occur.
I'm using
ng serveto get instant feedback while I'm developing but in some (unknown) situations the rebuilding isn't reliable. Sometimes I'm getting compile errors that I've already fixed. If I restartng servethen the errors don't show up anymore.This worsens developer productivity a lot because I spend time to find an error in my code that doesn't exist anymore until I remember to restart the build command.
OS?
Windows 8
Versions.
Repro steps.
App was created using the CLI. I'm not able to reliable reproduce the problem. It sometimes happens and sometimes not.
However, these are the steps I'm doing:
The log given by the failure.
No specific error message.
Mention any other details that might be useful.
I've used version
1.0.0-beta.24for a long time without such problems. Only after I updated to1.0.0-rc.1the problem started to occur.