diff --git a/lib/monitor/run.js b/lib/monitor/run.js index 4314226a..5fa7f45a 100644 --- a/lib/monitor/run.js +++ b/lib/monitor/run.js @@ -249,6 +249,13 @@ function run(options) { } } else { bus.emit('crash'); + + // support the old syntax of `exitcrash` - 2024-12-13 + if (options.exitcrash) { + options.exitCrash = true; + delete options.exitcrash; + } + if (options.exitCrash) { utils.log.fail('app crashed'); if (!config.required) {