-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[🐞] server build should detect when client build is missing or out of date #7479
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
Comments
https://qwik.dev/docs/deployments/static/#static-site-adapter there is wrong in this park |
@siddoinghisjob you have to run |
I ran run npm build and somehow that created the neccessary files without throwing any error. |
Can you pls tell me why? |
@siddoinghisjob As a matter of fact, it needs a manifest file when you run build.serve. |
got it buddy thanks |
I will close it after we improve DX |
here is latest update. first: add a new command second: look at the timestamp of /q-manifest.json and then check if any file under src/ is more recent. If the manifest is missing or there are newer files, run the client build. third: check whether the disk folder exists |
Which component is affected?
Qwik Runtime
Describe the bug
I have created route blogs/[id]/ and generating static pages via build.server command. The code looks the following
The error -
Reproduction
https://github.com/siddoinghisjob/blog-code
Steps to reproduce
npm run build.server
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: