liveBook · Manning

LiveReload server

As explained in Spring in Action, Sixth Edition

A LiveReload server monitors served resources and signals compatible browsers to reload when those resources change.

A LiveReload server works with a compatible browser plugin to refresh the browser automatically when served resources change. Spring Boot DevTools enables it alongside the application. section 1.3.5

Immediate template feedback

Change a template, image, stylesheet, or JavaScript file while the application runs. With DevTools and a LiveReload browser plugin connected, the browser refreshes without a manual click. DevTools also disables template caching, so updated templates appear after refresh. section 1.3.5

Use LiveReload with:

  • Spring Boot DevTools, which automatically enables the server. section 1.3.5
  • A compatible plugin for Chrome, Safari, or Firefox. section 1.3.5

How Spring in Action, Sixth Edition covers it

How deep it goes
Explains the server’s browser-plugin integration and supported resources, but does not detail its protocol or configuration.
Examples
Uses changing templates, images, stylesheets, and JavaScript as the concrete reload triggers.
What it assumes
Assumes a running Spring application and a compatible browser, while identifying the required plugin explicitly.
What you can do after
Operate faster feedback by enabling DevTools and installing a compatible browser plugin.
How it connects
Connects LiveReload with Spring Boot DevTools, browser plugins, template caching, and automatic browser refresh.

This explainer was generated by Manning's knowledge graph from the text of Spring in Action, Sixth Edition. The section links point to the parts of the book it draws on.