import { watch , WatchCallback } from 'gulp' ; /** Function that watches a set of file globs and runs given Gulp tasks if a given file changes. */ export function watchFiles ( fileGlob , tasks , debounceDelay = 700 ) { watch ( fileGlob , { debounceDelay } , tasks ) ; }