I have a spring boot application running fine with Intellij IDE. i.e i started the Application class that has the main method which delegates to SpringApplication.run. Every
You can use either of the following methods to auto reload Thymeleaf templates:
I recommend Gulp watch as it is easier to setup and works great:
var gulp = require('gulp'),
watch = require('gulp-watch');
gulp.task('watch', function () {
return watch('src/main/resources/**/*.*', () => {
gulp.src('src/main/resources/**')
//replace with build/resources/main/ for netBeans
.pipe(gulp.dest('out/production/resources/'));
});
});
gulp.task('default', ['watch']);
Now enter the following command in your terminal to start gulp watch:
$ gulp
//OR
$ gulp watch
I wrote a blog post on auto reloading Thymeleaf templates without restart in IntelliJ IDE.