2021-02-03 16:09:17 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-21 18:37:57 -04:00
|
|
|
%w(
|
|
|
|
.ruby-version
|
|
|
|
.rbenv-vars
|
|
|
|
tmp/restart.txt
|
|
|
|
tmp/caching-dev.txt
|
|
|
|
).each { |path| Spring.watch(path) }
|
2020-08-26 02:10:34 -04:00
|
|
|
|
|
|
|
Spring.after_fork do
|
|
|
|
if ENV['DEBUGGER_STORED_RUBYLIB']
|
|
|
|
ENV['DEBUGGER_STORED_RUBYLIB'].split(File::PATH_SEPARATOR).each do |path|
|
|
|
|
next unless path =~ /ruby-debug-ide/
|
|
|
|
|
|
|
|
load path + '/ruby-debug-ide/multiprocess/starter.rb'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|