Skip to content
Browse files

restart implemented

  • Loading branch information...
1 parent 9a5a701 commit c70c7bf66a19c82e2eeecb7405ae344a647e1d07 @Swizec committed Nov 11, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 foreman.js
View
6 foreman.js
@@ -32,7 +32,11 @@ var status = function () {
var stop = function () {
process.kill(parseInt(fs.readFileSync(settings.lockFile)));
- process.exit(0);
+}
+
+var restart = function () {
+ stop();
+ start();
}
if (process.argv.length < 3) {

0 comments on commit c70c7bf

Please sign in to comment.
Something went wrong with that request. Please try again.