-
Notifications
You must be signed in to change notification settings - Fork 175
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
fix: delete only unnecessary generated files #19037
Conversation
13e2fc6
to
bac4b7a
Compare
This change prevents the Vite restarts caused, for example, by the of deletion and creation of files like |
File causing typescript errors on deletion
If exclude those from deletion, there are no typescript errors anymore, the browser page is reloaded, but I see a JavaScript error in the console and the page is blank.
|
...rver/src/main/java/com/vaadin/flow/server/frontend/AbstractFileGeneratorFallibleCommand.java
Show resolved
Hide resolved
...lugins/flow-plugin-base/src/test/java/com/vaadin/flow/plugin/base/BuildFrontendUtilTest.java
Outdated
Show resolved
Hide resolved
...erver/src/main/java/com/vaadin/flow/server/frontend/TaskRemoveOldFrontendGeneratedFiles.java
Outdated
Show resolved
Hide resolved
dae982b
to
e684f1d
Compare
Prevents built tool plugins to to delete all frontend genreated files as first step in the prepare-frontend task, moving the login in BuildFrontendUtil and changing it to only delete files that are no longer created by node tasks. Part of #18907
ffdaa9f
to
421b7ec
Compare
|
This ticket/PR has been released with Vaadin 24.4.0.alpha25 and is also targeting the upcoming stable 24.4.0 version. |
Prevents built tool plugins to to delete all frontend genreated files as first step in the prepare-frontend task, moving the login in BuildFrontendUtil and changing it to only delete files that are no longer created by node tasks.
Part of #18907