-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production build breaks future development #20294
Comments
Can not reproduce the issue. Any specific steps to get it to reproduce? |
For me, it was enough to run one |
For some reason not when running |
Seems the main issue is somewhere in vaadin-spring init (running Application from idea for example), as running the application in dev mode using maven we do get the development mode correctly. |
Yes, I always run the application from the IDE, not through maven. |
Clean the token file after production build/execution to not make ide app execution run app in production mode. Closes #20294
Clean the token file after production build/execution to not make ide app execution run app in production mode. Closes #20294
Clean the token file after production build/execution to not make ide app execution run app in production mode. Closes #20294
Clean the token file after production build/execution to not make ide app execution run app in production mode. Closes #20294 Co-authored-by: caalador <[email protected]>
Description of the bug
After building a production build of my 24.5 application, development mode is broken.
Initially, I was missing the dev mode gizmo and no changes were reloaded
After running
mvn clean
, I got an empty screen with the following error in the browser consoleFinally, after deleting
src/main/bundles/prod.bundle
, did the app start working again as expected.Expected behavior
Creating a production build should not break development mode. I should continue to be able to run
Application.java
and have access to the dev mode gizmo and its features. I should not need to runmvn clean
or delete any files to get my app back to a working state.Minimal reproducible example
App from start.vaadin.com with Flow and Hilla views.
Versions
The text was updated successfully, but these errors were encountered: