Fix #18: remove demo site from gulp default

This commit is contained in:
Riley Shaw 2014-09-02 10:48:14 -07:00
parent cf088f2ced
commit 7bf8132311

View File

@ -89,6 +89,10 @@ gulp.task('css_concat', ['sass'], function () {
gulp.task('watch', function() { gulp.task('watch', function() {
gulp.watch([paths.app.all, paths.app.ext], ['lint', 'scripts']); gulp.watch([paths.app.all, paths.app.ext], ['lint', 'scripts']);
});
gulp.task('watchSite', function() {
gulp.watch([paths.app.all, paths.app.ext], ['lint', 'scripts']);
gulp.watch(paths.demo.scripts, ['demo','js_concat']); gulp.watch(paths.demo.scripts, ['demo','js_concat']);
gulp.watch([paths.demo.stylesheets.sass, paths.demo.stylesheets.css], ['sass', 'css_concat']); gulp.watch([paths.demo.stylesheets.sass, paths.demo.stylesheets.css], ['sass', 'css_concat']);
}); });
@ -107,4 +111,5 @@ gulp.task('webserver', function() {
})); }));
}); });
gulp.task( 'default', [ 'lint', 'scripts', 'demo', 'js_concat', 'sass', 'css_concat', 'webserver', 'watch' ] ); gulp.task( 'default', [ 'lint', 'scripts', 'watch' ] );
gulp.task( 'site', [ 'lint', 'scripts', 'demo', 'js_concat', 'sass', 'css_concat', 'webserver', 'watchSite' ] );