From fd0015308a00cb683729fa6c15ed660c8fea94ac Mon Sep 17 00:00:00 2001 From: zhang-ning Date: Mon, 7 Jul 2014 17:59:39 +0800 Subject: [PATCH] karma issue 895 https://github.com/karma-runner/karma/issues/895 --- karma.conf.js | 2 ++ lib/engine.js | 1 + 2 files changed, 3 insertions(+) diff --git a/karma.conf.js b/karma.conf.js index 7ccbdca..cf00fd1 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -7,6 +7,8 @@ module.exports = function(config) { // base path, that will be used to resolve files and exclude basePath: '', + usePolling: true, + // frameworks to use frameworks: ['jasmine'], diff --git a/lib/engine.js b/lib/engine.js index 18ed590..b0af0da 100644 --- a/lib/engine.js +++ b/lib/engine.js @@ -166,6 +166,7 @@ define('river.engine',function() { return { scan:scan, + compile:scan, ready:contentLoaded };