ignorar directorios de jekyll durante el desarrollo

This commit is contained in:
f 2019-03-26 12:25:45 -03:00
parent a3bf92c17a
commit 617619a493
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
2 changed files with 10 additions and 1 deletions

View file

@ -337,7 +337,8 @@ class Site
# entre sitios incluso # entre sitios incluso
config = ::Jekyll.configuration('source' => path, config = ::Jekyll.configuration('source' => path,
'destination' => File.join(path, '_site'), 'destination' => File.join(path, '_site'),
'safe' => true) 'safe' => true,
'watch' => false)
# No necesitamos cargar plugins en este momento # No necesitamos cargar plugins en este momento
%w[plugins gems theme].each do |unneeded| %w[plugins gems theme].each do |unneeded|

View file

@ -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( %w(
.ruby-version .ruby-version
.rbenv-vars .rbenv-vars