Closed javier-artiles closed 7 years ago
You actually have to restart the app to pick up JS only changes.
Writing to src/main/resources/static is to ensure that Spring Boot plugin properly picks things up for the uber JAR.
@gregturn I see. Is there any way to have live reloading while editing the app.js
file ?
Read the DevTools part of Boot's ref docs. You can adjust the trigger.
Thank you @gregturn , I got it working now with DevTools.
👍
@javier-artiles, any chance you should share how you configured DevTools to autoreload on JS changes? I am working through a similar issue myself.
After running
npm run-script watch
, changes inapp.js
are not reflected in the browser after reloading. It seemswebpack.config.js
is not pointing at the correct output directory.It worked after this change: