diff --git a/app/models/site.rb b/app/models/site.rb index c39d366..a25cd03 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -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| diff --git a/config/spring.rb b/config/spring.rb index c9119b4..0b96270 100644 --- a/config/spring.rb +++ b/config/spring.rb @@ -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