Skip to content
Snippets Groups Projects
Commit 0fb40e74 authored by David Miller's avatar David Miller
Browse files

update gulpfile

parent 381aba42
No related branches found
No related tags found
No related merge requests found
......@@ -18,9 +18,7 @@ var banner = ['/*!\n',
].join('');
// Default task
gulp.task('default', function() {
// default tasks here
});
gulp.task('default', ['less', 'minify-css', 'minify-js', 'copy']);
// Less task to compile the less files and add the banner
gulp.task('less', function() {
......@@ -101,7 +99,4 @@ gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function()
// Reloads the browser whenever HTML or JS files change
gulp.watch('*.html', browserSync.reload);
gulp.watch('js/**/*.js', browserSync.reload);
});
// Build Task
gulp.task('build', ['less', 'minify-css', 'minify-js', 'copy']);
\ No newline at end of file
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment