mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
feat(build): build demos on html change in components
This commit is contained in:
@ -26,7 +26,7 @@ gulp.task('watch', ['default'], function() {
|
|||||||
var serveStatic = require('serve-static');
|
var serveStatic = require('serve-static');
|
||||||
var port = 9000;
|
var port = 9000;
|
||||||
|
|
||||||
gulp.watch(buildConfig.src.html, ['html']);
|
gulp.watch(buildConfig.src.html, ['html', 'demo']);
|
||||||
gulp.watch(buildConfig.src.js, ['js']);
|
gulp.watch(buildConfig.src.js, ['js']);
|
||||||
gulp.watch(buildConfig.src.scss, ['sass']);
|
gulp.watch(buildConfig.src.scss, ['sass']);
|
||||||
gulp.watch(buildConfig.src.playgroundJs, ['playgroundJs']);
|
gulp.watch(buildConfig.src.playgroundJs, ['playgroundJs']);
|
||||||
|
Reference in New Issue
Block a user