5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:21:42 +00:00

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
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|

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