5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 18:46:21 +00:00
panel/config/spring.rb

18 lines
411 B
Ruby
Raw Normal View History

2019-03-26 15:32:20 +00:00
# frozen_string_literal: true
2019-08-29 17:54:19 +00:00
# Ignorar los sitios Jekyll
# https://github.com/thoughtbot/ember-cli-rails/issues/479#issuecomment-241302961
Spring::Watcher::Listen.class_eval do
def base_directories
2019-03-26 15:32:20 +00:00
%w[app config db lib test vendor]
.uniq.map { |path| Pathname.new(File.join(root, path)) }
end
end
2019-08-29 17:54:19 +00:00
Spring.watch(
'.ruby-version',
'.rbenv-vars',
'tmp/restart.txt',
'tmp/caching-dev.txt'
)