mirror of
https://github.com/rileyjshaw/terra.git
synced 2024-11-21 04:54:23 +00:00
Fix #18: remove demo site from gulp default
This commit is contained in:
parent
cf088f2ced
commit
7bf8132311
@ -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' ] );
|
||||||
|
Loading…
Reference in New Issue
Block a user