aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorIgor Minar2012-10-17 12:43:40 -0700
committerIgor Minar2012-10-17 12:45:10 -0700
commit43ac783d35400fe0467b6c3a1bb3c5cb1d648a89 (patch)
treeac473988e0a3121b04c4bc00dedeb995a6ff51ee /Rakefile
parentc96dc605942875f7a9c1c5fc54dae3b5cae60da2 (diff)
downloadangular.js-43ac783d35400fe0467b6c3a1bb3c5cb1d648a89.tar.bz2
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
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index e21a3421..44b85310 100644
--- a/Rakefile
+++ b/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