Skip to content

Commit

Permalink
closes #438
Browse files Browse the repository at this point in the history
  • Loading branch information
dbankier committed Nov 26, 2015
1 parent d62d9e9 commit 8fcf4ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/tishadow
Expand Up @@ -207,7 +207,10 @@ program.command('express')

function execute(filename) {
var argv = process.argv.slice(0);
if ((argv[2] === "run" || argv[2] === "spec") && filename && !filename.match(/(alloy\.js|app.tss)$/)) {
if(program.args[0]) {
program.args[0].alloyCompileFile =config.alloyCompileFile = undefined;
}
if ((argv[2] === "run" || argv[2] === "spec") && filename && !filename.match(/app.tss$/)) {
argv.push("-f");
argv.push(filename);
}
Expand Down

0 comments on commit 8fcf4ef

Please sign in to comment.