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

Don't use hash-named directory for dev server #3049

Merged
merged 2 commits into from Jan 25, 2017

Conversation

@dbkr
Copy link
Member

dbkr commented Jan 24, 2017

Otherwise Chrome thinks you're working on a new file every time
you refresh and therefore closes source tabs and removes
breakpoints which is very annoying. It also allegedly makes
webpack-dev-server run out of memory because it has to remember
all the different files.

Otherwise Chrome thinks you're working on a new file every time
you refresh and therefore closes source tabs and removes
breakpoints which is very annoying. It also allegedly makes
webpack-dev-server run out of memory because it has to remember
all the different files.
@richvdh

This comment has been minimized.

Copy link
Member

richvdh commented Jan 24, 2017

Yup. This should work around webpack/webpack#4086 too.

@@ -37,7 +37,7 @@
"build:dev": "node scripts/babelcheck.js && npm run build:res && npm run build:bundle:dev",
"dist": "scripts/package.sh",
"start:res": "node scripts/copy-res.js -w",
"start:js": "webpack-dev-server -w --progress",
"start:js": "webpack-dev-server --output-filename=bundles/_dev_/[name].js -w --progress",

This comment has been minimized.

Copy link
@richvdh

richvdh Jan 24, 2017

Member

Think we'll also need this for non-entry chunks, which looks like --output-chunk-file?

Copy link
Member

richvdh left a comment

lgtm otherwise

@richvdh richvdh assigned dbkr and unassigned richvdh Jan 24, 2017
@dbkr dbkr merged commit 527c988 into develop Jan 25, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.