lib/stack.rb in stack-0.0.5 vs lib/stack.rb in stack-0.0.6

- old
+ new

@@ -1,36 +1,45 @@ # rubygems require 'rubygems' require 'optparse' - +require 'directory_watcher' require 'liquid' require 'maruku' require 'mash' require 'RedCloth' require 'less' +require 'webrick' require 'core_ext/hash' require 'stack/configuration' require 'stack/generator' require 'stack/runner' require 'stack/template' require 'stack/parsable' +require 'stack/server' +require 'stack/watcher' require 'stack/templates/page' require 'stack/templates/layout' +require 'stack/filters/register' +require 'stack/filters/standard' +require 'stack/filters/convertors' +require 'stack/filters/datetime' +require 'stack/filters/string' + module Stack # Default options used by stack, overridden from the command line or YML configration file. DEFAULTS = { :source => '.', :target => File.join('.', '_stack') }.freeze # Array of valid commands stack can use - COMMANDS = %w(create generate server) + COMMANDS = %w(create generate server watch) # Array of transformable extensions (these extensions go through the liquid transformer) EXTENSIONS = %w(.html .markdown .mdown .mkdn .md .textile .js .css) class << self \ No newline at end of file