Skip to content

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

Closed

Description

@quanterion

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.

Activity

  1. quanterion commented on Mar 11, 2016

    @quanterion
    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.

  2. quanterion commented on Mar 11, 2016

    @quanterion
    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.

  3. PatrickJS commented on Mar 11, 2016

    @PatrickJS
    Owner

    thanks, merged via 5e24f11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions