more changes
This commit is contained in:
parent
73cfa118e7
commit
526f25ba9d
@ -37,6 +37,7 @@ module Guard
|
|||||||
|
|
||||||
def start_rails
|
def start_rails
|
||||||
system %{sh -c 'rails s -d -e #{options[:environment]} -p #{options[:port]} --pid #{pid_file}'}
|
system %{sh -c 'rails s -d -e #{options[:environment]} -p #{options[:port]} --pid #{pid_file}'}
|
||||||
|
sleep 2
|
||||||
UI.info "Rails running, PID #{File.read(pid_file)}"
|
UI.info "Rails running, PID #{File.read(pid_file)}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user