Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function initFiles(cwd) {
files = uniq(files.concat(getConfigPaths(cwd)));
}
watchConfigs(handler) {
const { cwd } = this.service;
const watcher = this.watch('CONFIG_FILES', getConfigPaths(cwd));
if (watcher) {
watcher.on('all', handler);
}
}
}