Skip to content

Commit

Permalink
[merge] Manual merge of #135 since the fork no longer exists. Fixes #135
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Nov 25, 2011
1 parent ddd9588 commit 6760a2e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/vows
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,11 @@ if (args.length === 0 || options.watch) {
msg('bin', 'discovered', "./" + testFolder);
if (args.length === 0) {
args = paths(testFolder).filter(function (f) {
return new(RegExp)('(-|_)' + testFolder + '.(js|coffee)$').test(f);
return specFileExt.test(f);
});

if (options.watch) {
args = args.concat(paths('lib'),
paths('src'));
args = args.concat(paths('lib'), paths('src'));
}
}
}
Expand Down

0 comments on commit 6760a2e

Please sign in to comment.