vsc-material-theme/.gulp/tasks/watcher.ts

12 lines
No EOL
278 B
TypeScript

import * as gulp from "gulp";
import * as path from "path";
import Paths from "../consts/paths";
/*
* > Watcher
* Watches files and build the themes
*/
export default gulp.task('watch', () => {
gulp.watch(path.join(Paths.SRC, `./themes/**/*.json`), ['build:themes']);
});