webpack-hmr Questions

8

Solved

I have seen already a number of border cases and strange developer interface. From the "shake your device", which is really impractical, specially with a tablet To working around Android studio t...
Lithe asked 15/6, 2016 at 15:27

6

Solved

Sometimes while running webpack in watch mode and editing source files I am not sure whether webpack has packed my changes or not. Is there a way to print a timestamp to the console each time web...
Praise asked 17/1, 2017 at 18:44

0

I am building a small website and in a page there are a form and a table that displays some query output based on the user input. On first loading, I have no problems because I inserted some code i...
Enclosure asked 21/12, 2022 at 21:39

5

Solved

I've been using TypeORM with no problems for a while, but then suddenly this error pops up when making an API call: EntityMetadataNotFound: No metadata for "BusinessApplication" was found. at new...
Magnanimous asked 13/3, 2020 at 21:43

1

I am trying to enable Webpack HMR in nestjs app in Nx monorepo The nx workspace with nestjs app can be found in the repo here. It is created by following official docs Nestjs webpack HMR docs is ...
Fabio asked 1/3, 2020 at 14:43

1

I'm able to use hot module replacement in webpack for my JS and SCSS files and it works fine, but I am having issues when trying to hot reload for html files. Another option that has worked for me ...
Vaenfila asked 27/7, 2021 at 5:22

3

Solved

I am running an express server that will act as an API for my React app that is being bundled and served by webpack-dev-server. I am trying to get hot module replacement to work, and am almost the...

3

Solved

I am trying to run a simple webpack-dev-server that compiles .bundle.js files when they are requested if relevant source JavaScript files have changed. I do not want to enable Hot Module Replacemen...
Lethbridge asked 8/2, 2017 at 19:29

5

Solved

I have a project structure like: . +-- Common | +-- MyCommonVueComponent.Vue +-- MainProject | +-- webpack.config.js | +-- package.json | +-- node_modules | +-- src When I a build from the conso...
Ouellette asked 1/8, 2018 at 22:29

5

I'm looking to add HMR to plain Node.js code or browser code written with native ES Modules. There's no Babel, no Webpack, no transpilation, just plain JS files and ES Module import and export cal...
Retral asked 28/5, 2019 at 23:38

2

I have a strange problem: I'm using Webpack (with Vue-CLI) + HMR. When I try to change styles in the browser in DevTools, then my page itself changes the styles - it removes some of them (screensh...
Clementina asked 23/1, 2018 at 17:46

1

Solved

I've tried to add a HMR into my webpack 5 config and got a nasty error. First time it compiles properly, but when it comes to recompiling after code changes - it breaks with HookWebpackError: Canno...
Rustic asked 10/1, 2021 at 13:26

2

Solved

This is probably asked all the time, but I've tried every approach under the sun and can't find a solution. I've created a repo to make it easier to get help. You can clone it, run npm install and...
Marcelina asked 13/12, 2017 at 22:1

3

I'm getting messages like [HMR] Waiting for update signal from WDS... and [WDS] Hot Module Replacement enabled. twice in Dev Tools console. Why is that? Am I doing something wrong? My webpack.co...
Haye asked 6/1, 2019 at 23:40

1

Solved

I am getting the [HMR] Cannot apply update. Need to do a full reload! error in Angular. The question has a different issue from mine. You can see the difference by comparing my issue description b...
Christa asked 15/6, 2020 at 9:22

1

I have a small VUE project with 25 entries which is created by vue-cli. During the development, when HMR is on, the rebuild time is about 10s now. I use --profile --progress to start webpack-dev-...
Shabuoth asked 3/1, 2018 at 11:25

1

Solved

Affected Package HMR + IVY Is this a regression? pre-IVY, it works Description Seems IVY and HMR don't play well together? However I've seen tickets of them that are closed so I suppose it sho...

3

Solved

I am trying to enable webpack HMR in my express app. It's NOT an SPA app. For the view side, I am using EJS and Vue. I don't have the advantage of vue-cli here so I have to manually configure the v...
Eakins asked 30/1, 2020 at 10:55

2

I'm getting the following error from Webpack: Invalid HMR message Followed by a string of very detailed JSON. There really aren't any resources that I can find to better debug this. Any tips? ...
Ultima asked 3/4, 2016 at 0:56

1

I am using handlebars-loader: { test: /\.hbs$/, loader: 'handlebars-loader', } I am also using the html-webpack-plugin. Everything works as I want it using Webpack Dev Server: automaticall...

2

I am working on a project for a client and I need to use webpack's Hot Module Replacement feature. I am using an express (node) application behind NGINX. I am using many javascript frameworks to de...

3

So heres the issue, current I am working on a project where the frontend is tightly coupled to the backend. The legacy version of the application is built using .JSP files, the index file is an ind...
Lambrecht asked 15/12, 2017 at 13:54

1

Solved

I have the following function a file @/lang/index.js: async function fetchMessages(locale) { const module = await import(/* webpackChunkName: "lang/[request]", webpackExclude: /index/ */ `@/la...
Anthropophagi asked 10/5, 2019 at 23:47

2

(Confirmed an issue even with Angular 7). Let's get this fixed! I'm using HMR as set up here: https://github.com/angular/angular-cli/wiki/stories-configure-hmr from a fresh ng new build. If I ch...

3

I have a simple configuration with webpack-dev-middleware and webpack-hot-middleware that uses Hot reload (HMR) with react. Everything is working fine except that every change i made to the code ...

© 2022 - 2024 — McMap. All rights reserved.