17 lines
359 B
Ruby
17 lines
359 B
Ruby
# frozen_string_literal: true
|
|
|
|
%w[
|
|
.ruby-version
|
|
.rbenv-vars
|
|
tmp/restart.txt
|
|
tmp/caching-dev.txt
|
|
].each { |path| Spring.watch(path) }
|
|
|
|
Spring.after_fork do
|
|
ENV['DEBUGGER_STORED_RUBYLIB']&.split(File::PATH_SEPARATOR)&.each do |path|
|
|
next unless path.include?('ruby-debug-ide')
|
|
|
|
load "#{path}/ruby-debug-ide/multiprocess/starter.rb"
|
|
end
|
|
end
|