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/Read me (example).txt |
|
||||||
| images/Child folder/regular_file(example).txt |
|
| images/Child folder/regular_file(example).txt |
|
||||||
| .htaccess |
|
| .htaccess |
|
||||||
|
| feed.xml |
|
||||||
Then the following files should not exist:
|
Then the following files should not exist:
|
||||||
| _partial |
|
| _partial |
|
||||||
| layout |
|
| 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
|
def ignore_list
|
||||||
[
|
[
|
||||||
/\.sass-cache/,
|
/\.sass-cache\//,
|
||||||
/\.git/,
|
/\.git/,
|
||||||
/\.DS_Store/,
|
/\.DS_Store$/,
|
||||||
/build/,
|
/build\//,
|
||||||
/\.rbenv-version/,
|
/\.rbenv-version$/,
|
||||||
/Gemfile/,
|
/Gemfile$/,
|
||||||
|
/Gemfile\.lock$/,
|
||||||
/\.mm-pid/
|
/\.mm-pid/
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue