From bb124f6ea0abfbb6dfa392697c82fad7ac4f0e00 Mon Sep 17 00:00:00 2001 From: tknew2 Date: Mon, 8 Sep 2014 13:55:39 +0200 Subject: [PATCH] #690 --- lib/Common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Common.js b/lib/Common.js index 3c8fe7a2..95be26dc 100644 --- a/lib/Common.js +++ b/lib/Common.js @@ -56,7 +56,8 @@ Common.resolveAppPaths = function(app, cwd, outputter) { if (!app.exec_interpreter) { if (extItps[path.extname(app.script)]) { app.exec_interpreter = extItps[path.extname(app.script)]; - if (extItps[path.extname(app.script)] != 'node') + console.log(cst.PREFIX_MSG_WARNING + '--interpreter not set, default to %s', app.exec_interpreter); + if (extItps[path.extname(app.script)] != 'node' && path.extname(app.script) != '.coffee') app.exec_mode = 'fork_mode'; } else { app.exec_interpreter = 'node';