Skip to content
JDesk
Guides

The dev loop & HMR

Frontend HMR in the WebView, plus automatic Java rebuild-and-restart.

Check your environment first:

./gradlew jdeskDoctor

Then start the loop (install frontend deps once for Vite templates):

npm install --prefix ui
./gradlew jdeskDev

Frontend edits hot-reload through Vite; Java changes rebuild and restart the app only after a successful compile. Configure reload in the development { } block.