-
Notifications
You must be signed in to change notification settings - Fork 919
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
[Bug report] Building by vite several times cause the same output with different inputs #772
Comments
do not mix different versions |
Also, you are expected to clean page temp files when having advanced usage with api to create your page. if you make sure that problem exists after using same version and cleaning the changed page temp files under Also, adding a workflow would be nice. |
Ok, i downgraded to 35, but dont understand your versioning. Some packages have 36 and some still have 35. I though i should to use the last versions of all packages. Also added whole .vuepress directory cleaning. I tried to clean it before, but it did not work, and i saw that temp file had the actual data of second build. Repo updated: MicrowaveDev/vuepress-test@7005f30 What do you mean about adding the workflow? I made a repo with script that reproduced the error |
I will have a look later |
Hello, any news about this issue? |
This issue is marked as |
This issue is marked as |
Not a bug at all. Try not share the same vuepress instance. See https://github.com/Mister-Hope/vuepress-test call.js works, but exec.js does not work. |
Thank you for sample with using child process, but i know about this workaround and hoped not to use it because i have many data to pass to site generator. I think it's a bug, that library in one process makes the same output with different inputs, and hope that one day it will be solved and can be used without child processes |
This is every hard to check, and I am not interest in it becuz you already have a workaround and this is not a normal usage. Maybe you can see if @meteorlxy can find some time investigate it. (But I am afraid he cannot in the comming few months) |
The require cache of the server entry causes the issue: |
Bug report
Description
I have an application, where i need to build several static sites from one runtime in series: build after build. But i got a strange behavior. After first build i got second with same output as first, while i have different inputs. I made a simple repo to reproduce error.
Steps to reproduce
Expected behavior
.vuepress/dist/index.html
content with outputincludes 1: true
in console log.vuepress/dist/index.html
content with outputincludes 2: true
in console logLogs
Environment info
vuepress info
:The text was updated successfully, but these errors were encountered: