question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webpack dev server stops bundling after save

See original GitHub issue

Bug report

What is the current behavior? The webpack dev server doesn’t update the site on save, but it does nothing. (it returns nothing) (Sorry if my explanation isn’t that good, IDK how to word this, so here is an example gif) example

If the current behavior is a bug, please provide the steps to reproduce. Create a react app (I used typescript redux template but that shouldn’t matter). Use these configs: Link To Gist

What is the expected behavior?

It should reload the page and display the new/updated content.

Other relevant information: webpack version: webpack@4.44.1 Node.js version: v12.18.0 Operating System:

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.18362 N/A Build 18362
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free

Additional tools:

Installed plugins
+-- @babel/core@7.11.1
+-- @babel/plugin-proposal-class-properties@7.10.4
+-- @babel/plugin-proposal-object-rest-spread@7.11.0
+-- @babel/plugin-transform-runtime@7.11.0
+-- @babel/preset-env@7.11.0
+-- @babel/preset-react@7.10.4
+-- @babel/preset-typescript@7.10.4
+-- @reduxjs/toolkit@1.4.0
+-- @testing-library/jest-dom@4.2.4
+-- @testing-library/react@9.5.0
+-- @testing-library/user-event@7.2.1
+-- @types/jest@24.9.1
+-- @types/node@12.12.54
+-- @types/react@16.9.46
+-- @types/react-dom@16.9.8
+-- @types/react-helmet@6.1.0
+-- @types/react-redux@7.1.9
+-- @types/react-router-dom@5.1.5
+-- @types/react-syntax-highlighter@11.0.4
+-- @types/styled-components@5.1.2
+-- @types/styled-theming@2.2.5
+-- axios@0.19.2
+-- babel-loader@8.1.0
+-- babel-plugin-styled-components@1.11.1
+-- copy-webpack-plugin@6.0.3
+-- css-loader@4.2.1
+-- file-loader@6.0.0
+-- html-webpack-plugin@4.3.0
+-- react@16.13.1
+-- react-dom@16.13.1
+-- react-helmet@6.1.0
+-- react-intl@5.6.2
+-- react-redux@7.2.1
+-- react-router-dom@5.2.0
+-- react-scripts@3.4.3
+-- react-syntax-highlighter@13.4.0
+-- refractor@3.1.0
+-- regenerator-runtime@0.13.7
+-- style-loader@1.2.1
+-- styled-components@5.1.1
+-- styled-theming@2.2.0
+-- typescript@3.8.3
+-- webpack@4.44.1
+-- webpack-cli@3.3.12
`-- webpack-dev-server@3.11.0

NOTE: SINCE I’M PRETTY NEW TO WEBPACK AND BABEL ITS POSSIBLE THAT I DID SOMETHING WRONG AND THAT THIS ISN’T A BUGG

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Arthurdwcommented, Aug 17, 2020

This is a fork of the repo I’m having the issues with. Repo

0reactions
Arthurdwcommented, Aug 20, 2020

@evilebottnawi I think so. Its probably a bug from copy-webpack-plugin. Thanks for trying to help me tho ♥

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack-dev-server compiles files but does not refresh or ...
So with this setup, I run npm run dev . The webpack-dev-server starts up, the module loader test works (i.e. when I save...
Read more >
Why webpack-dev-server Live-Reload Is Not Working
webpack -dev-server creates 'bundle.js' in memory from code pointed to by entry parameter, and serves it from the url path specified by ...
Read more >
HMR/Live Reloading broken after Webpack 5 rc.0 -> ...
After upgrading from Webpack 5.0.0-beta.29 to 5.0.0-rc.3 , I've noticed that HMR/Live ... Looks webpack-dev-server thinks it is not browser ...
Read more >
DevServer
If you want to manually recompile the bundle, navigating to the /webpack-dev-server/invalidate route will invalidate the current compilation of the bundle ...
Read more >
A Beginner's Guide to Webpack
However, webpack is worth learning and can save considerable time and effort in ... The webpack-dev-server command is now webpack serve .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found