Skip to content

Deraen/boot-livereload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boot-livereload

Clojars Project

Boot task to create a LiveReload.js server. Automatically injects client JS to HTML files.

This works well with static page generators such as Perun. For use with ClojureScript apps, you should be looking at boot-reload instead.

  • Provides the livereload task
  • Doesn't provide HTTP server to serve your files, instead compose with another Boot task, like boot-alt-http

Usage

$ boot livereload --help

Dynamically served HTML file

If your HTML file is not in the fileset, the task can't automatically inject the JS code to page. In this case you should use the default port (35729) for Livereload server and either 1) use browser extensions, 2) add JS manually.

License

Copyright © 2015-2017 Juho Teperi

Distributed under the MIT License.

About

Provides LiveReload.js compatible server as Boot task

Resources

License

Stars

Watchers

Forks

Packages

No packages published