Skip to content
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

No original files in Debugging Tools after hot-reload #401

Closed
quanterion opened this issue Mar 9, 2016 · 3 comments
Closed

No original files in Debugging Tools after hot-reload #401

quanterion opened this issue Mar 9, 2016 · 3 comments

Comments

@quanterion
Copy link

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.

@quanterion
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

thanks, merged via 5e24f11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants