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
Merged

Conversation

dbkr
Copy link
Member

@dbkr 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
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",
Copy link
Member

@richvdh richvdh Jan 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm otherwise

@richvdh richvdh assigned dbkr and unassigned richvdh Jan 24, 2017
@dbkr dbkr merged commit 527c988 into develop Jan 25, 2017
@t3chguy t3chguy deleted the dbkr/dev_server_no_hash branch May 12, 2022 08:56
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

Successfully merging this pull request may close these issues.

2 participants