Questions tagged [hmr]
6 questions
1
vote
0 answers
How to prevent Vite HMR web socket redirect loop on docker local dev environment for Quasar 2?
I've created a repo to demonstrate the issue: https://github.com/geoidesic/CLMP-quasar2
Here's the docker-compose.yml:
version: "3.9"
networks:
web-network:
services:
caddy:
image: caddy:latest
restart: always
volumes:
-…

geoidesic
- 4,649
- 3
- 39
- 59
0
votes
0 answers
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 '@angularclass/hmr';
export const hmrBootstrap =…

Rohit Parte
- 3,365
- 26
- 26
0
votes
0 answers
Laravel Vite & Visually Jarring Loading Due to Apparent CSS Injection
I have a Laravel 10 project & am using Vite (laravel-vite-plugin). I am familiar with WebPack, but am new to Vite and am not sure if I'm doing something wrong or what.
What I want:
develop locally and use HMR (Hot Module Replacement)
when I deploy,…

Ryan Dorn
- 679
- 2
- 8
- 20
0
votes
1 answer
Force import a new version of a file in Vite
In my project, I stop full reload by throwing an error in the handler for vite:beforeFullReload, and then handle the HMR manually.
When I dynamic import a module, I see that it still imports the old module.
At this point, the generated code…

Mahesh Bansod
- 1,493
- 2
- 24
- 42
0
votes
0 answers
Nuxt 3 - HMR only works on app.vue, but not on /pages etc
When working on a Nuxt3-Project with a Dev-Container in VS-Code HMR doesn't work as it should.
If I change something in my app.vue in the root folder everything works fine: HMR works as expected. But changes in other folders don't. For example: if I…

Daniel Hüpenbecker
- 23
- 4
0
votes
0 answers
How to config --hmr using customElements with angular
I am using angular version 15, but I want to apply micro front end architecture and need to add --hmr.
But with MFE I can't add the bootstrap: [AppComponent] and then angular's default --hmr doesn't work
I added a webpack.config.ts, but I…

Josileudo Rodrigues
- 1,979
- 1
- 6
- 9