-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abrupt break of hot reload #3
Comments
Yeh, I do confirm the same issue happening to me as well. 56-Lazy-Loading module after you change source code doen't hot reload correctly in browser untill you recompile everything again. For instance if you change a bit template in mail-view.component.ts (add any text there), the portion of code will be recompiled automatically and in browser you'll get: loader: 'ultimate/aot-loader' new aot.AotPlugin({ |
I ran into this issue as well. The error I got was I'm an epic n00b but I was able to change webpack.config.js to the code below and it appears to run. These changes were based on @ndovgaluk's suggestions...thanks!
|
Update: my approach broke in lesson 56. |
Same #5 His approach using |
EDITED
I've been working my way through the course, starting with the first folder of a section and building it out along with the lessons, everything working as expected. Then about halfway through lesson 47-router-tracing, I started getting the following error after the hot-reload triggered after a save:
client?11a9:119 Cannot determine the module for class AppComponent in C:\Users\Allende\Desktop\Dev\tutorials\angular-pro-src\47-route-tracing\app\app.component.ts! Add AppComponent to the NgModule to fix it.
Everything works until the first hot-reload then I get the same error, regardless of what I change, even just adding a word to an HTML template. If I stop the server and restart, it works again until the next hot-reload.
This only happens in folders after 46-async-custom-validators, I have retested and can confirm this.
Notes:
yarn add node-sass -D
yarn install
yarn start
yarn install node-sass -D
separately, I get build errors if I don't. Until lesson 47 this wasn't an issue.compiler._compileSrcFile is not a function
errorThank you for this great course I've learned a lot and am anxious to finish. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: