From e9a69fe6048f3255d7b7820a387e250c67a78b79 Mon Sep 17 00:00:00 2001 From: Unitech Date: Thu, 25 Dec 2014 21:19:56 +0100 Subject: [PATCH] add back automatic coffee interpreter #488 --- lib/interpreter.json | 3 ++- test/bash/fork.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/interpreter.json b/lib/interpreter.json index 21a74ce6..26c550d2 100644 --- a/lib/interpreter.json +++ b/lib/interpreter.json @@ -4,5 +4,6 @@ ".rb": "ruby", ".php": "php", ".pl" : "perl", - ".js" : "node" + ".js" : "node", + ".coffee" : "coffee" } diff --git a/test/bash/fork.sh b/test/bash/fork.sh index 0b7f7cf6..e6091ce4 100644 --- a/test/bash/fork.sh +++ b/test/bash/fork.sh @@ -15,14 +15,14 @@ should 'should has forked app' 'restart_time: 1' 1 ########### Fork mode $pm2 kill -$pm2 start bashscript.sh -x --interpreter bash +$pm2 start bashscript.sh should 'should has forked app' 'fork_mode' 1 ########### Auto Detective Interpreter In Fork mode $pm2 kill -$pm2 start echo.coffee -x --interpreter coffee +$pm2 start echo.coffee should 'should has forked app' 'fork_mode' 1 ### Dump resurrect should be ok