diff options
Diffstat (limited to 'src/fauxton/tasks/couchserver.js')
-rw-r--r-- | src/fauxton/tasks/couchserver.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fauxton/tasks/couchserver.js b/src/fauxton/tasks/couchserver.js index 9641a88b4..bfc0c2e2a 100644 --- a/src/fauxton/tasks/couchserver.js +++ b/src/fauxton/tasks/couchserver.js @@ -49,7 +49,7 @@ module.exports = function (grunt) { if (!!url.match(/assets/)) { // serve any javascript or css files from here assets dir filePath = path.join('./',url); - } else if (!!url.match(/mocha|test\.config/)) { + } else if (!!url.match(/mocha|\/test\/core\/|test\.config/)) { filePath = path.join('./test', url.replace('/test/','')); } else if (!!url.match(/\.css|img/)) { filePath = path.join(dist_dir,url); |