Skip to content

Commit 08c7382

Browse files
authored
Merge pull request #915 from overwork/MOBILE-1875
MOBILE-1875 Run gulp tasks with ionic serve
2 parents 3520b63 + 6c7990b commit 08c7382

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
@@ -388,6 +388,8 @@ var remoteAddonPaths = {
388388

389389
gulp.task('default', ['build', 'sass', 'lang', 'config']);
390390

391+
gulp.task('serve:before', ['default', 'watch']);
392+
391393
gulp.task('sass-build', function(done) {
392394
gulp.src(paths.sass.core)
393395
.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)