2017-05-24 00:46:34 +02:00
|
|
|
import * as gulp from "gulp";
|
|
|
|
import * as path from "path";
|
|
|
|
|
2017-06-12 20:11:51 +02:00
|
|
|
import Paths from "../../extensions/consts/paths";
|
2017-05-24 00:46:34 +02:00
|
|
|
|
2017-05-23 18:44:31 +02:00
|
|
|
/*
|
|
|
|
* > Watcher
|
2017-05-24 00:46:34 +02:00
|
|
|
* Watches files and build the themes
|
2017-05-23 18:44:31 +02:00
|
|
|
*/
|
2017-05-24 00:46:34 +02:00
|
|
|
export default gulp.task('watch', () => {
|
|
|
|
gulp.watch(path.join(Paths.SRC, `./themes/**/*.json`), ['build:themes']);
|
2017-05-23 18:44:31 +02:00
|
|
|
});
|