201 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
68
views
How to enable HMR for a private React component library during development?
I’m currently developing a React component library that’s built with Rollup and released as a private npm package. This library is used across multiple applications.
The issue I’m facing is that ...
0
votes
1
answer
470
views
Webpack Hot Module Replacement (HMR) and Live Reload Not Working for JS and HTML Changes
I’m working on The Odin Project's Restaurant Page project and using Webpack to bundle my code. However, when I make changes to src/index.js or src/template.html, they are not reflected in the browser ...
2
votes
0
answers
243
views
jhipster angular compiled successfully, but AggregateError
PREVIOUS ANSWERS DONT WORK SO ITS NOT ALREADY ANSWERED, there are SO answers suggesting to use earlier downgrade node. jhipster8 build successful, then AggregateError which says,
As mentioned in a ...
3
votes
1
answer
479
views
How do I use an index (barrel) file without breaking react-refresh?
Say I have a module foo and it's got some stuff in it:
// foo/index.js
export { default as SomeComponent } from './SomeComponent'
export { someUtil } from './utilities'
export const SOME_CONSTANT = 42
...
1
vote
1
answer
493
views
Vite Hot Reload Causes Child Component to Re-fetch and Duplicate Data in Vue 3 Composition API
I'm working on a Vue 3 project using the Composition API with TypeScript (), and I'm encountering an issue related to Vite's hot module replacement (HMR).
Problem Description:
Parent Component:
I have ...
1
vote
0
answers
49
views
Twilio Flex crashes when loading hotmodulereplacement webpack plugin
I'm trying to load hotModuleReplacement webpack plugin in my TwilioFlex plugin but I cannot figure out how to do it.
As suggested in the documentation, I try to modify the config object from the ...
0
votes
1
answer
478
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 ...
2
votes
1
answer
255
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 ...
1
vote
3
answers
928
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
366
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
2k
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
1k
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 ...
1
vote
0
answers
580
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
927
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
108
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 ...