mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
always build before watching
This commit is contained in:
@@ -76,6 +76,7 @@ gulp.task('clean.build', function(done) {
|
||||
|
||||
gulp.task('watch', function(done) {
|
||||
runSequence(
|
||||
'build',
|
||||
'serve',
|
||||
function() {
|
||||
watch([
|
||||
@@ -102,10 +103,6 @@ gulp.task('watch', function(done) {
|
||||
);
|
||||
});
|
||||
|
||||
gulp.task('build.watch', function(done){
|
||||
runSequence('build', 'watch');
|
||||
})
|
||||
|
||||
gulp.task('serve', function() {
|
||||
connect.server({
|
||||
root: 'dist',
|
||||
|
||||
Reference in New Issue
Block a user