0.33.4
(See: updated documentation site.)
Enhances LiveReload functionality added in lineman@0.33.3, lineman will now inject an HTML script kicking off livereload in lieu of a browser extension (by way of #283 by @Psiablo)
For new projects, just comment out this line from your config/application to enable default livereload behavior:
// livereload: true
The livereload config property supports these options:
port- the port to run the LiveReload server and to which the injected scripts should look for (default: 35729)injectScript- when enabled, a script tag will be injected into all HTML documents served by Lineman to listen to reloads triggered when files are changed and tasks run (default: true)
Therefore, if you'd like to use a browser extension (instead of script injection) to facilitate reloads and run it on port 40000, you could configure livereload like so in config/application:
{
livereload: {
port: 40000,
injectScript: false
}
}