mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +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) {
|
gulp.task('watch', function(done) {
|
||||||
runSequence(
|
runSequence(
|
||||||
|
'build',
|
||||||
'serve',
|
'serve',
|
||||||
function() {
|
function() {
|
||||||
watch([
|
watch([
|
||||||
@ -102,10 +103,6 @@ gulp.task('watch', function(done) {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('build.watch', function(done){
|
|
||||||
runSequence('build', 'watch');
|
|
||||||
})
|
|
||||||
|
|
||||||
gulp.task('serve', function() {
|
gulp.task('serve', function() {
|
||||||
connect.server({
|
connect.server({
|
||||||
root: 'dist',
|
root: 'dist',
|
||||||
|
Reference in New Issue
Block a user