Loosing connection to webpack #357
Description
Sorry for the title but I really don't know how to explain this in a few words.
I'm trying to find a situation where I can reproduce these two situations so I could post here but until now I couldn't.
The bad thing is that they are happening very often with me. So this question is to see if anyone else is experiencing them and if there's any solution or workaround.
- Sometimes the application stops from loading and I start getting an error on Chrome console like this:
It seems that it cannot find the vendor bundles anymore. I try to rebuild them as many times as I can and the error persists. If I restart VS everything goes back to normal...
- Sometimes it seems that the client bundle stops from compiling in the memory. I'm running the application then goes back do VS, do some changes and nothing happens on the browser. Iif I look in the Chrome console the HMR is compiling the changes, but they doesn't reflect on browser.
Then I close the browser and run the application again in VS, but still the changes don't reflect in the browser. Then to be sure I go to Developer Tools, and find my source files and they are really unchanged. Any changes I do in the code (be in html, css or ts files) stops from being compiled.
Again, restating VS fixes the problem.
It's really annoying because I'm having to restart VS like from 15 to 15 minutes...
I know this seems vague but it's just to see if anyone else is experiencing this or I'm getting crazy =(
These are happening for many weeks now, but I waited to be 100% sure that I'm not messing anything because I know how odd the second situation sounds =)
I'll keep trying to reproduce this in a controlled environment...