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
{{ message }}
Repository navigation
No original files in Debugging Tools after hot-reload #401
Hello! I pull latest updates from this repository and found annoying issue:
After starting dev server I can open Chrome Debugging Tools and find all TypeScript files in "Sources" tab inside webpack://./src/
However after first hot module reload event this folder becomes empty and contains last changed file with hash prefix only, all other files become missing.
Does anyone else experience this issue? I updated webpack to latest version and search internet with same problems with no luck.
Steps to reproduce:
1)npm run start
2)Open Chrome Developer Tools and browse to folder webpack://./src/ - it containt list of all project files with subfolders
3)change home.html to trigger hot module reload
4)Go to Chrome Developer Tools and press F5 to update them. webpack://./src/ - this folder contains home.html file only and nothing else.
Changing devTool inside webpack config from 'source-map' to 'cheap-module-eval-source-map' fixes the problem. Maybe maintainer can fix this project also to improve debug experience?
PS: it should be changed in debug version only since cheap-module-eval-source-map mode is not intendant for production.
Activity
quanterion commentedon Mar 11, 2016
Does anyone else experience this issue? I updated webpack to latest version and search internet with same problems with no luck.
Steps to reproduce:
1)npm run start
2)Open Chrome Developer Tools and browse to folder webpack://./src/ - it containt list of all project files with subfolders
3)change home.html to trigger hot module reload
4)Go to Chrome Developer Tools and press F5 to update them. webpack://./src/ - this folder contains home.html file only and nothing else.
quanterion commentedon Mar 11, 2016
Changing devTool inside webpack config from 'source-map' to 'cheap-module-eval-source-map' fixes the problem. Maybe maintainer can fix this project also to improve debug experience?
PS: it should be changed in debug version only since cheap-module-eval-source-map mode is not intendant for production.
PatrickJS commentedon Mar 11, 2016
thanks, merged via 5e24f11