Merge pull request #317 from bhollis/master
Fix watcher to be more selective about what it ignores
This commit is contained in:
commit
40380aaeeb
3 changed files with 12 additions and 6 deletions
|
@ -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 |
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
xml.instruct!
|
||||
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
||||
xml.title "Not a feed, really"
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue