Created
March 25, 2015 21:48
-
-
Save timkelty/e724a613e342da987630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a temp file in case we need to know if we're watching | |
// and browserSync.active won't do the trick | |
browserSync.emitter.on('init', function() { | |
touch.sync(tmpFile); | |
gulp.start('build'); | |
}).on('service:exit', function() { | |
del.sync(tmpFile); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment