Open sou-long opened 10 months ago
I'm having the same problem.
+1 here.
I know these repeated +1 are not that helpful but I have to add that this is very annoying and I run into it daily and have to switch tabs to see what the real file name is or open a new terminal and run the check again.
Would a pull request be welcome? Any clues as to why this is happening? Thanks so much for the awesome plugin! It is really helpful and works great for me besides this problem.
Describe the bug
If you create and save an error in one file, then create and save an error in another file, the in-browser popup shows an incorrect filename for the second file. Console shows the correct filename.
Reproduction
./vite.config.ts
./index.html
./src/script.ts
./src/other.ts
vite
)./src/script.ts
, e.g.const fo o = 0
, save../src/other.ts
, e.g.export const ba r = 0
, save.export const ba r = 0
is incorrectIf you refresh the page, the issue goes away.
Expected behavior
All filenames in the browser must equal to the ones in the console.
System Info
Additional context
My browsers where I actually tested this were:
Both behave the same.
Browser screenshot:
Console screenshot:
Validations