A guide on setting up live reload for Thymeleaf templates in a Spring Boot project using npm scripts instead of Gulp. The approach uses npm-run-all to run parallel build tasks for HTML, CSS (via PostCSS), JavaScript (via Babel), and SVG files, copying them to the target directory during development. This avoids the Gulp dependency while enabling a frontend build pipeline with browser-sync for live reloading.

1m read timeFrom wimdeblauwe.com
Post cover image

Sort: