Open ArcSoul opened 1 year ago
Unfortunately I'm suffering through some dental issues so I might be a bit brief here, but just to make certain I'm not missing something:
Are you trying to run Gradle with --watch
or having a long-running Gradle process for bootRun
while running another Gradle with the frontend
task at the same time?
(or a long-running Gradle process with both tasks, i.e. ./gradlew bootRun frontend
and want it to continously run and re-deploy your frontend upon changes?)
It's kinda strange that it works without --watch
but not with it. I'd expect it to work as you expect, or to run once ignoring the --watch
, or to error out and give an error message
But personally when I've worked on frontends and backends separately I've always had a node start a dev server that watches for changes and redeploys the entire frontend while proxying all requests to the backend And then at the same time had JRebel or something else do hot reloads on the JVM-side. In fact, the Spring documentation has some mentions of hot-swapping and now I kinda wanna add another example build using that
Description
Hi, I tried to execute the following task (go to reproduce the error for more details) and the problem is when I added
--watch
in args, when I add this command, it did not work, I don´t know why does this happens, Is there a bug when I execute some command with --watch likeng server --watch
or similar? I tried to, execute Spring boot application and execute tailwind in parallel because I used thymeleaf.Note: I clarify that the command does work if I remove the
--watch
, but I want the file to be pending changesReproduce error
1 -- I made a task in build.gradle
2 -- I run
gradle frontend
3 -- I saw to next response
Expected behavior
I expected to generate the file tailwind.min.js in
/src/main/resources/static/css/tailwind.min.css
.