Questions tagged [webpack-hmr]
343 questions
0
votes
1 answer
Why is the webpack bundle throwing error: "Uncaught ReferenceError: parseNumbers is not defined"?
The "Uncaught ReferenceError: parseNumbers is not defined" error is throw at this point in the generated bundle:
parseNumbers = function parseNumbers(str) {
if (!isNaN(str)) {
str = str % 1 === 0 ? parseInt(str, 10) :…

MartinDuo
- 663
- 12
- 25
0
votes
1 answer
Specific module breaks HMR on my entire application
I am using hot.accept in the root of my application, and so far it's worked brilliantly.
var hot = (module).hot;
if (hot) {
hot.accept();
}
However, since I migrated to Angular 2 RC5, and use their module system, I have run into issues.…

twilliams
- 475
- 1
- 6
- 20
0
votes
2 answers
Redux examples - bundle optimization
The redux repository has a set of examples. The problem is that they are for development builds and i'm using them as a template for an app.
This particular example -…

seasick
- 1,094
- 2
- 15
- 29
0
votes
2 answers
Webpack HotModuleReplacementPlugin not updating page when changes to files are made
The page loads up correctly and even logs to client console [WDS] Hot module replacement enabled. But when I make changes to files nothing is reflected on the page. Even on reload. Only when restarting the server.
Not sure if this matter but Im…

Daniel Kobe
- 9,376
- 15
- 62
- 109
0
votes
1 answer
Webpack adding duplicates of runtime into bundle
Does anyone know why I am getting duplicates of the webpack runtimes in the bundle?
It's adding multiple numbers after the ? and the browser is seeing them as new files.
dev-server.js?
dev-server.js?52d4
dev-server.js?53d4*
See the file tree on…

TetraDev
- 16,074
- 6
- 60
- 61
0
votes
0 answers
Server unreachable after hot module replacement (Webpack)
when I make a change, i see this in terminal:
[1] [piping] File src/containers/Blocks/Blocks.js has changed, reloading.
[0] webpack building...
[0] webpack built 67cf99a9b98c59d668ed in 3497ms
But after this, I cant do anything anymore, if I…

Rob Indesteege
- 548
- 1
- 8
- 19
0
votes
0 answers
How can I dynamically remove / replace a ReactJS class at runtime in the browser?
I'm playing around with the idea of a web based IDE for building React applications. Basically the user defines and modifies the class entirely within the browser.
I know I can create a class using React.createClass but how can I delete it or…

Brennan Cheung
- 4,271
- 4
- 30
- 29
0
votes
1 answer
Webpack - Hot reloading works on dev server but not backend server
Trying to get live reloading to work. Basically using the gearon-transform-boilerplate: https://github.com/gaearon/react-transform-boilerplate
When I go to the dev server localhost:3000, i get live reloading
When I go to my backend server, and load…

Igniter
- 1
0
votes
1 answer
laravel and webpack transform reactjs not reloading
I am having trouble getting hot reloading to work with my laravel app.
//laravel homepage

DrivingInsanee
- 1,631
- 2
- 13
- 22
-1
votes
1 answer
How to enable live reload on webpack only for some type of files
I have been struggling for over two days to come up with the perfect setup for webpack when using express and EJS.
This is where I am at at the moment:
https://github.com/ZeldOcarina/webpack-express-ejs-setup
Right now I have HMR enabled for SCSS…

Mattia Rasulo
- 1,236
- 10
- 15
-1
votes
2 answers
HMR Waiting for update signal from WDS... react app
I started learning react from yesterday. So I created new react app using command
npx create-react-app firstapp.
When I opened the console in my browser (firefox),
[HMR] Waiting for update signal from WDS..
I was getting this message. I also…

Sravan Kumar
- 602
- 8
- 22
-1
votes
2 answers
Webpack Configuration for React App with hot module realoding
I am trying to set up react app.
package.json:
{
"name": "react-redux",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"babel-polyfill": "^6.26.0",
"react": "^16.3.2",
"react-dom": "^16.3.2"
},
…

bikky barnwal
- 173
- 2
- 11