Live with grace. Write superb software.

If you don't know what fast-live-reload is you should probably see this video. TL;DW: unlike any other live reload tool on the planet, fast-live-reload can build execution pipelines (probably the only one still from the command line), serve folders, proxy sites, etc. Truly a Swiss army knife.

More than once when monitoring folders, I wanted to execute commands for the specific files that would change.

A good example that comes to my mind is AsciiDoc. When I monitor a folder where I have a bunch of asciidoc files, I want to run asciidoctor individually. For that file. So far that was not really possible. What I would do would be, decide upfront on what file I would work, and run:

fast-live-reload -o '*.adoc' -e 'asciidoctor mycurrentfile.adoc'

"Superb", I know.

Finally, since version 2.6.0, if in the executed command the variable $FILE is defined, the command will be executed for each changed file, and the FILE environment variable will be passed to the script. Thus the previous example would be:

fast-live-reload -o '*.adoc' -e 'asciidoctor $FILE'


If you want this tool, you need node and just:

npm install -g fast-live-reload


Disqus Comments

comments powered by Disqus


The one to rule them all. The browsers that is.


SharpKnight is an Android chess game.


MagicGroup is an eclipse plugin.