Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

exclude destination from auto watch folders #675

Closed
wants to merge 1 commit into from

1 participant

@hpyhacking

destination folder don't include in watched directory.

@hpyhacking hpyhacking closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 15, 2012
  1. exclude destination from auto watch folders

    hpyhacking authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/jekyll
View
2  bin/jekyll
@@ -228,7 +228,7 @@ destination = options['destination']
def globs(source)
Dir.chdir(source) do
dirs = Dir['*'].select { |x| File.directory?(x) }
- dirs -= ['_site']
+ dirs -= ['_site', destination]
dirs = dirs.map { |x| "#{x}/**/*" }
dirs += ['*']
end
Something went wrong with that request. Please try again.