Skip to content

Commit

Permalink
fix: atom parser uses wacher cwd to resolve full path (#1626)
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe authored Apr 24, 2023
1 parent e9e53e3 commit c7b15ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assetParsers/atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class AtomAssetsParser {
['add', 'change'].includes(ev) &&
/((?<!\.d)\.ts|\.(jsx?|tsx))$/.test(file)
) {
this.unresolvedFiles.push(path.join(this.resolveDir, file));
this.unresolvedFiles.push(path.join(this.watchArgs.options.cwd, file));
lazyParse();
}
});
Expand Down

0 comments on commit c7b15ff

Please sign in to comment.