Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ clean up all the inter-module references, and without a whole new
--harmony
Start node with --harmony flag.

--harmony-proxies
Start node with --harmony-proxies flag.

--inspect[=port]
Start node with --inspect flag.

Expand Down
9 changes: 9 additions & 0 deletions lib/supervisor.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var timestampFlag = false;
var interactive = true;
var log = console.log;
var crash_queued = false;
var harmony_proxies = false;
var harmony_default_parameters = false;
var harmony_destructuring = false;

Expand All @@ -30,6 +31,8 @@ function run (args) {
log = function(){};
} else if (arg === "--harmony") {
harmony = true;
} else if (arg === "--harmony-proxies") {
harmony_proxies = true;
} else if (arg.indexOf("--inspect") > -1) {
inspect = arg;
} else if (arg === "--harmony_default_parameters") {
Expand Down Expand Up @@ -117,6 +120,9 @@ function run (args) {
if (harmony) {
program.unshift("--harmony");
}
if (harmony_proxies) {
program.unshift("--harmony-proxies");
}
if (inspect) {
program.unshift(inspect);
}
Expand Down Expand Up @@ -314,6 +320,9 @@ function help () {
(" --harmony_default_parameters")
(" Start node with --harmony_default_parameters flag.")
("")
(" --harmony-proxies")
(" Start node with --harmony-proxies flag.")
("")
(" -n|--no-restart-on error|exit")
(" Don't automatically restart the supervised program if it ends.")
(" Supervisor will wait for a change in the source files.")
Expand Down