ignorar directorios de jekyll durante el desarrollo
This commit is contained in:
parent
a3bf92c17a
commit
617619a493
2 changed files with 10 additions and 1 deletions
|
@ -337,7 +337,8 @@ class Site
|
|||
# entre sitios incluso
|
||||
config = ::Jekyll.configuration('source' => path,
|
||||
'destination' => File.join(path, '_site'),
|
||||
'safe' => true)
|
||||
'safe' => true,
|
||||
'watch' => false)
|
||||
|
||||
# No necesitamos cargar plugins en este momento
|
||||
%w[plugins gems theme].each do |unneeded|
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
# https://github.com/thoughtbot/ember-cli-rails/issues/479#issuecomment-241302961
|
||||
Spring::Watcher::Listen.class_eval do
|
||||
def base_directories
|
||||
%w(app config db lib test vendor)
|
||||
.uniq.map { |path| Pathname.new(File.join(root, path)) }
|
||||
end
|
||||
end
|
||||
|
||||
%w(
|
||||
.ruby-version
|
||||
.rbenv-vars
|
||||
|
|
Loading…
Reference in a new issue