diff --git a/src/lib/watchers/webdiff/webdiff-watcher.ts b/src/lib/watchers/webdiff/webdiff-watcher.ts index 32baae1..4e42c3a 100644 --- a/src/lib/watchers/webdiff/webdiff-watcher.ts +++ b/src/lib/watchers/webdiff/webdiff-watcher.ts @@ -35,10 +35,7 @@ export function webDiffWatcher(conf: Conf) { htmlDiff += `${htmlStripped}` }); - if (htmlDiff) { - fs.writeFileSync(path.join(__dirname, 'diff.html'), htmlDiff, 'utf8') - } - console.log('Diff done') + throw 'Diff detected' } }