mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 14:26:21 +00:00
17 lines
411 B
Ruby
17 lines
411 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Ignorar los sitios Jekyll
|
|
# 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
|
|
|
|
Spring.watch(
|
|
'.ruby-version',
|
|
'.rbenv-vars',
|
|
'tmp/restart.txt',
|
|
'tmp/caching-dev.txt'
|
|
)
|