0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gulp-html-extendで新規ファイルもウォッチさせる

Last updated at Posted at 2016-04-08

新規ファイルをエクステンドしてくれない

extendで下記の形でwatchさせた場合、すでにあるファイルの変更は反映してくれるが
新しいファイルは一回コマンドを止めて、再開させないと書き出してくれない。

gulpfile.js
gulp.watch(['./src/extend/modules/**/*.html'], ['extend'])

なので下記に変更。これでOK

gulpfile.js
gulp.watch(['src/extend/modules/**/*.html'], ['extend'])
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?