Skip to content

Commit 6c7990b

Browse files
committed
MOBILE-1875 Run gulp tasks with ionic serve
1 parent 823532b commit 6c7990b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gulpfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ var remoteAddonPaths = {
356356

357357
gulp.task('default', ['build', 'sass', 'lang', 'config']);
358358

359+
gulp.task('serve:before', ['default', 'watch']);
360+
359361
gulp.task('sass-build', function(done) {
360362
gulp.src(paths.sass.core)
361363
.pipe(concat('mm.bundle.scss'))

ionic.project

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"config"
1010
],
1111
"watchPatterns": [
12-
"www/**/*",
12+
"www/**/*.html",
13+
"www/build/**/*",
14+
"www/index.html",
1315
"!www/lib/**/*"
1416
]
1517
}

0 commit comments

Comments
 (0)