Goetz Markgraf
03/03/2023, 8:39 AMindex.html
in the frontend static folder and remove the route index
in the backend
2. add a webpack.config.d
with the devServer proxy
settings
3. start webpack after the server so that it picks its own port
However, there are some things in need of improvement:
• the client is still always included in the backend if I run the server. I’d like to have the client only included when I produce a fat jar for production
• I cannot start the server in watch mode. -t
simply does not have any effect
• I would like to get rid of the webpack.config.d
and rather add some type safe config in the gradle build file
Can someone help? Or does someone has another project template for this?
Thank you for your helpArjan van Wieringen
03/03/2023, 9:39 AMGoetz Markgraf
03/03/2023, 10:30 AMbuild
in watch mode – but that does not work in run
mode. If I setup accordingly and run ./gradlew -t run
the application launches, even show the paths it will watch on, but does not recompile and restart after a file is changed.Goetz Markgraf
03/03/2023, 10:31 AM