This is a guard for nanoc.
Guard is a framework for listening to filesystem changes and acting upon them. Guard::Nanoc is a plugin for Guard that recompiles nanoc sites on changes.
Add this line to your application's Gemfile:
gem 'guard-nanoc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install guard-nanoc
Enter the nanoc site directory for which you want to use Guard::Nanoc. Create a Guardfile using guard init
:
$ guard init nanoc
Execute guard:
$ guard
Whenever you change a file in the nanoc site directory now, the site will be recompiled!