2017-05-24 00:46:34 +02:00
|
|
|
import * as gulp from "gulp";
|
|
|
|
import * as path from "path";
|
|
|
|
|
|
|
|
import Paths from "../consts/paths";
|
|
|
|
|
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
|
|
|
});
|