Merge pull request #317 from bhollis/master

Fix watcher to be more selective about what it ignores
This commit is contained in:
Thomas Reynolds 2012-03-19 08:36:51 -07:00
commit 40380aaeeb
3 changed files with 12 additions and 6 deletions

View file

@ -14,6 +14,7 @@ Feature: Builder
| images/Read me (example).txt |
| images/Child folder/regular_file(example).txt |
| .htaccess |
| feed.xml |
Then the following files should not exist:
| _partial |
| layout |

View file

@ -0,0 +1,4 @@
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.title "Not a feed, really"
end

View file

@ -17,12 +17,13 @@ module Middleman
def ignore_list
[
/\.sass-cache/,
/\.sass-cache\//,
/\.git/,
/\.DS_Store/,
/build/,
/\.rbenv-version/,
/Gemfile/,
/\.DS_Store$/,
/build\//,
/\.rbenv-version$/,
/Gemfile$/,
/Gemfile\.lock$/,
/\.mm-pid/
]
end