List of usage examples for org.springframework.boot.devtools.livereload Connection triggerReload
void triggerReload() throws IOException
From source file:org.springframework.boot.devtools.livereload.LiveReloadServer.java
/** * Trigger livereload of all connected clients. *///from w ww. j a v a 2 s .co m public void triggerReload() { synchronized (this.connections) { for (Connection connection : this.connections) { try { connection.triggerReload(); } catch (Exception ex) { logger.debug("Unable to send reload message", ex); } } } }