mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-20 00:10:26 +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
f92e4146d1
commit
5595e196a8
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