Watches a specified folder of html files and creates an html file containing links to each file in the specified folder (like a table of contents). You can optionally pass an erb template for formatting the output. This gem is heavily inspired by the guard-markdown gem.
Gemfile gem 'guard-toc', '~> 0.1.5'
install gem install guard-toc