Skip to content

Commit

Permalink
chore(watch): fix watch
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 2, 2020
1 parent 981e0ae commit 3732171
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/compiler/build/watch-build.ts
Expand Up @@ -79,9 +79,7 @@ export const createWatchBuild = async (config: d.Config, compilerCtx: d.Compiler
const watchingFiles = new Map<string, d.CompilerFileWatcher>();

const onFsChange: d.CompilerFileWatcherCallback = (p, eventKind) => {
if (tsWatchProgram && isWatchIgnorePath(config, p)) {
config.watchIgnoredRegex;

if (tsWatchProgram && !isWatchIgnorePath(config, p)) {
updateCompilerCtxCache(config, compilerCtx, p, eventKind);

switch (eventKind) {
Expand Down

0 comments on commit 3732171

Please sign in to comment.