-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite build using old cached source file? #7176
Comments
The page in question is loaded with this line:
|
The builder seems to be using a cached file... but only after the "Unterminated string constant" error. |
Hello @glittle. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
The bot has marked this for deletion because a repo was not provided. As explained, it cannot be. |
If there's no repro, there's no way for us to fix it. The behaviour described alone isn't enough to figure the source of the bug. |
Yes, I understand. We can let this be closed. I've got a workaround for when it happens again. And if someone else encounters the same issue, maybe this report will be a another clue to help identify the cause. If the build system doesn't do any caching, then maybe there was some glitch in the environment. If there is any sort of caching, maybe it should be reviewed to ensure that this can't happen. Thanks, @bluwy, for carrying forward the conversation. As mentioned, I'm fine with letting this issue be closed. |
Describe the bug
I had an unterminated string constant in a Vue file.
As expected, the 'server.hmr.overlay' showed the error and the line that caused it...
I fixed the error and saved the file.
The same error was displayed again.
In attempting to resolve this, I edited the file a number of times and stopped and started the vite process.
Two ways to resolve the issue:
Reproduction
Not possible.
System Info
Used Package Manager
npm
Logs
Log lines included in the description above.
Validations
The text was updated successfully, but these errors were encountered: