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
// initial utilities | |
var gutil = require('gulp-util'); // tools to help, e.g. detect env, colour our output + logging | |
var changeEvent = function(evt) { | |
// log | |
gutil.log('File', gutil.colors.cyan(evt.path.replace(new RegExp('/.*(?=/' + paths.appSrc + ')/'), '')), 'was', gutil.colors.magenta(evt.type)); | |
}; | |
require('autostrip-json-comments'); // https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaGSr | |
// 'development' is just default, production overrides are triggered by adding the production flag to the gulp command e.g. `gulp build --production` |