Skip to content

Commit

Permalink
removed non-existing files from files to watch
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jun 13, 2011
1 parent 62b358b commit 1223a0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/nanoc3/cli/commands/watch.rb
Expand Up @@ -90,6 +90,7 @@ def run(options, arguments)
watcher_config = @base.site.config[:watcher] || {}
dirs_to_watch = watcher_config[:dirs_to_watch] || %w( content layouts lib )
files_to_watch = watcher_config[:files_to_watch] || %w( config.yaml Rules rules Rules.rb rules.rb' )
files_to_watch.delete_if { |f| !File.file?(f) }

# Watch
puts "Watching for changes…".make_compatible_with_env
Expand Down

0 comments on commit 1223a0d

Please sign in to comment.