-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
HMR not working when specify more than one export in file routing #2964
Comments
Tested this. Works fine, so there must be something else involved |
The magic is here #2128 |
I just download new project from https://start.vaadin.com/ using options below <!-- <dependency>-->
<!-- <groupId>org.postgresql</groupId>-->
<!-- <artifactId>postgresql</artifactId>-->
<!-- <scope>runtime</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-data-jpa</artifactId>-->
<!-- </dependency>--> Then I just start application, then change What are the steps I need to take to find out about this problem? |
I tested it in my my macbook. |
This ticket/PR has been released with Hilla 24.6.0.beta6 and is also targeting the upcoming stable 24.6.0 version. |
This ticket/PR has been released with Hilla 24.7.0.alpha3 and is also targeting the upcoming stable 24.7.0 version. |
This ticket/PR has been released with Hilla 24.5.9. |
This ticket/PR has been released with Hilla 24.4.19. |
Describe the bug
This document specifies why the problem occurs.
Currently, Hilla need
export config
for customizing routes.But that disables HMR.
Expected-behavior
change
<div>1</div>
-><div>2</div>
should change1
to2
whit out refreshing the pageReproduction
If I put the content in /src/main/frontend/views/test.tsx and change
<div>1</div>
-><div>2</div>
, HMR is not working.System Info
Intel(R) Core(TM) i7-14700KF 3.40 GHz
Windows 11 Pro 24H2 26100.2314
Intellij with Jetbrain Runtime 17 + Vaadin Plugin
The text was updated successfully, but these errors were encountered: