Questions tagged [hot-module-replacement]
hot module replacement means code changes appear instantly in the browser without the need to rebuild the entire app.
hot-module-replacement
197
questions
0
votes
0
answers
67
views
Vite with Vuejs hot reload module reload full page instead of update
When I save a javascript file in my vue 3 project (api composition).
This reloads the entire page instead of just updating the data.
I checked that the javascript files have exactly the same name ...
0
votes
1
answer
207
views
Vite HMR abruptly stopped working (React, Vite, Tailwind)
Abruptly, vite's HMR stopped working. I don't think I changed anything significant, I was editing a component and then HMR suddenly froze. When I save a file in VSCode, Vite seems to detect it in the ...
0
votes
0
answers
51
views
webpack 5 with HMR enabled - everything (even CSS changes) causes a full reload
I've got a small Typescript/React repo using webpack 5.72. With Hot Module Replacement enabled, I'd expect to be able to make component or CSS changes and have only the changed component or style ...
0
votes
0
answers
198
views
how to have webpack-dev-server connect to different wss port than the http port?
I have a react app running on webpack dev server with hot module replacement on http://localhost:3010
the traffic is coming from a browser on the internet, from an nginx reverse proxy listening on ...
1
vote
3
answers
325
views
Hot Module Replacement not working with default svelte project on wsl2
Following the instructions on the docs
npm create svelte@latest my-app
cd my-app
npm install
npm run dev
I created and ran a svelte project on wsl2. The project was created and the server ran ...
1
vote
0
answers
240
views
Angular 15 HMR not working, Throwing Circular Dependency error
Error Unhandled Promise rejection: NG0200: Circular dependency in DI detected for ApplicationRef.
hmr.ts
import { NgModuleRef, ApplicationRef } from '@angular/core';
import { createNewHosts } from '@...
4
votes
2
answers
622
views
How do I correctly configure Neutralinojs to work with Vite HMR?
I'm trying to integrate Neutralinojs with Vite to improve my dev workflow and use HMR. How should I configure the setup for HMR to function properly? I've tried both in macOS and Windows without luck.
...
1
vote
0
answers
848
views
Overriding endpoints with Redux Toolkit Query and Vite HMR
I am using Redux Toolkit Query in a Vite project, and getting the typical warnings about overriding endpoints when the store HMR reloads.
called 'injectEndpoints' to override already-existing ...
0
votes
0
answers
409
views
How to add proxy configuration in web.config file and remove from appsettings.json in .NET 6 with Angular 5?
How to Add proxy configuration inside web.config file by removeing proxy from appsettings.json file in .net6 with Angular 5?
I tried to add proxy in web.config file by removing from appsetting.json ...
1
vote
0
answers
723
views
Vite serve functionality is importing Vuetify's main.sass and is overriding old styling
I am migrating my Vue 2 multi-page project from Vue-CLI to Vite. I have a huge project with a lot of old code and styling that should probably be removed/rewritten. We introduced Vue to the code a ...
3
votes
0
answers
91
views
Reflect changes as they are saved using webpack-hot-middleware with node
I am trying to get 'webpack-hot-middleware' to work with a node server. I created a sample application using typescript with an endpoint localhost:3000/ that console logs 'Hello endpoint'. When I ...
1
vote
0
answers
316
views
ViteJs, Docker, React, Symfony - HMR update not showing in Browser
My Browser (Chrome, Firefox, Edge) is not showing the hmr updates of my react app.
My cli output and my browser console output show that the file was changed.
However the Browser doesn't show the ...
1
vote
0
answers
1k
views
Vite / Vue / HMR : ReferenceError: Cannot access '...' before initialization
I splitted some pieces of my code into separate files for better readability. Since, the Vite HMR is not working anymore. I get errors like the one below in the console :
ReferenceError: Cannot ...
2
votes
2
answers
5k
views
Nuxt3 HMR not working, page reload needed for HMR to fire
I've installed and run Nuxt3 by
npx nuxi init <project-name>
cd <project-name>
npm i
npm run dev
This appeared in console:
Nuxi 3.0.0 ...
0
votes
2
answers
801
views
How to add HMR to Rollup with Svelte?
I am using Svelte and Rollup for my application. I used official Svelte template before it was archived.
This template uses rollup-plugin-livereload which reloads whole page on every code change.
I ...