LiveReload URL API

LiveReload can be controlled using livereload:command?params URLs. This can be used by scripts to programmatically change LiveReload folder settings.

Adding or updating projects

Syntax: livereload:add?path=/some/folder&compiler-sass-mode=compile

Path is a URL-encoded path to the folder in question. (You can skip URL encoding as long as the path does not contain ampersands, percent signs or plus characters.)

For example, to add ~/Desktop/Foo, run:

open "livereload:add?path=~/Desktop/Foo"

Removing projects

Syntax: livereload:remove?path=/some/folder

For example:

open "livereload:remove?path=~/Desktop/Foo"

Feedback and Knowledge Base