Demos watch now. Fixes #109

This commit is contained in:
Max Lynch
2015-09-14 12:06:37 -05:00
parent 5cbed7c25d
commit 7b0d0b978a

View File

@ -98,6 +98,10 @@ gulp.task('watch', function(done) {
} }
); );
watch('demos/**/*', function() {
gulp.start('demos');
});
watch('ionic/components/*/test/**/*', function(file) { watch('ionic/components/*/test/**/*', function(file) {
if (file.event === "unlink") { if (file.event === "unlink") {
var paths = file.history[0].split("ionic/components/"); var paths = file.history[0].split("ionic/components/");