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 7a6b5f3 commit 2c02e9eCopy full SHA for 2c02e9e
src/optimize/watch/watch_cache.ts
@@ -179,7 +179,7 @@ async function recursiveDelete(directory: string) {
179
: unlinkAsync(absolutePath);
180
181
// Ignore errors, if the file or directory doesn't exist.
182
- result.catch(e => {
+ return result.catch(e => {
183
if (e.code !== 'ENOENT') {
184
throw e;
185
}
0 commit comments