Skip to content

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

Merged
dbkr merged 2 commits intodevelopfrom
dbkr/dev_server_no_hash
Jan 25, 2017
Merged

Don't use hash-named directory for dev server#3049
dbkr merged 2 commits intodevelopfrom
dbkr/dev_server_no_hash

Conversation

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

richvdh commented Jan 24, 2017

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

Comment thread package.json Outdated
"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
Copy Markdown
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
Copy Markdown
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