Skip to content

Commit

Permalink
add --harmony-proxies support
Browse files Browse the repository at this point in the history
  • Loading branch information
cschinnerl-cf committed Oct 13, 2017
1 parent a54bacc commit 53d418a
Showing 1 changed file with 9 additions and 0 deletions.
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 @@ -32,6 +33,8 @@ function run (args) {
harmony = true;
} else if (arg === "--inspect") {
inspect = true;
} else if (arg === "--harmony-proxies") {
harmony_proxies = true;
} else if (arg === "--harmony_default_parameters") {
harmony_default_parameters = true;
} else if (arg === "--harmony_destructuring") {
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

0 comments on commit 53d418a

Please sign in to comment.