We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd855f commit 1137f4bCopy full SHA for 1137f4b
src/IncrementalChecker.ts
@@ -240,7 +240,10 @@ class IncrementalChecker {
240
} catch (e) {
241
if (
242
fs.existsSync(fileName) &&
243
- !e.message.trim().startsWith("Invalid source file")
+ // check the error type due to file system lag
244
+ !(e instanceof Error) &&
245
+ !(e.constructor.name === 'FatalError') &&
246
+ !(e.message && e.message.trim().startsWith('Invalid source file')
247
) {
248
// it's not because file doesn't exist - throw error
249
throw e;
0 commit comments