Answer the question
In order to leave comments, you need to log in
Why is my source map not generated when I change it?
I have such a moment that when for the first time I compiled the file through webpack, then chrome in the debugger normally shows files from the source map. If I change something in the code and then compiled it, then the previous code remains in the debugger in chrome, but it processes it as a new compiled code. I'm using node 11.6.0 if that matters. To make it clear what I mean, I will make a special mistake. At first we compile for the first time
And in the debugger everything is also normal
Now I make some mistake
That is, there is no key variable at all, then when compiling the file, we try to open it in the browser and see such an interesting thing
. What could be the problem?
Answer the question
In order to leave comments, you need to log in
The problem was in chrome and not webpack, in network I checked the disabled cach flag and everything worked fine and you can debug normally
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question