Merge pull request #177 from lukeapage/patch-1
remove listeners when using the build flag
This commit is contained in:
commit
4ff0f80630
@ -100,7 +100,10 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If we're just building (e.g. for web), skip phantom.
|
// If we're just building (e.g. for web), skip phantom.
|
||||||
if (this.flags.build) return;
|
if (this.flags.build) {
|
||||||
|
removePhantomListeners();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var done = this.async();
|
var done = this.async();
|
||||||
phantomRunner(options, function(err, status) {
|
phantomRunner(options, function(err, status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user