Skip to content

Commit 43ac783

Browse files
committed
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
1 parent c96dc60 commit 43ac783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ end
172172

173173
desc 'Start development webserver'
174174
task :webserver, :port do |t, args|
175-
system "node lib/nodeserver/server.js #{args[:port]}"
175+
exec "node lib/nodeserver/server.js #{args[:port]}"
176176
end
177177

178178

0 commit comments

Comments
 (0)