Doh! APpending -u flag instead of iincluding in default
This commit is contained in:
parent
1dcbbd4d11
commit
7a81802b8c
@ -23,7 +23,7 @@ module Guard
|
|||||||
FileUtils.rm pid_file
|
FileUtils.rm pid_file
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def restart
|
def restart
|
||||||
stop
|
stop
|
||||||
start
|
start
|
||||||
@ -33,11 +33,11 @@ module Guard
|
|||||||
rails_options = [
|
rails_options = [
|
||||||
'-e', options[:environment],
|
'-e', options[:environment],
|
||||||
'-p', options[:port],
|
'-p', options[:port],
|
||||||
'-u', options[:debugger],
|
|
||||||
'--pid', pid_file
|
'--pid', pid_file
|
||||||
]
|
]
|
||||||
|
|
||||||
rails_options << '-d' if options[:daemon]
|
rails_options << '-d' if options[:daemon]
|
||||||
|
rails_options << '-u' if options[:debugger]
|
||||||
rails_options << options[:server] if options[:server]
|
rails_options << options[:server] if options[:server]
|
||||||
|
|
||||||
%{sh -c 'cd #{Dir.pwd} && rails s #{rails_options.join(' ')} &'}
|
%{sh -c 'cd #{Dir.pwd} && rails s #{rails_options.join(' ')} &'}
|
||||||
|
Loading…
Reference in New Issue
Block a user