mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(Rakefile): use exec for webserver
exec unlike system replaces the current process. this way when we kill the webserver process we don't get scary looking 'rake aborted' error
This commit is contained in:
parent
c96dc60594
commit
43ac783d35
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
|
@ -172,7 +172,7 @@ end
|
|||
|
||||
desc 'Start development webserver'
|
||||
task :webserver, :port do |t, args|
|
||||
system "node lib/nodeserver/server.js #{args[:port]}"
|
||||
exec "node lib/nodeserver/server.js #{args[:port]}"
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue