-
Notifications
You must be signed in to change notification settings - Fork 87
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
Debug mode sometimes retrieves incomplete files #95
Comments
The debug implementation doesn't use anything special, just Perhaps Parcel is writing the file in chunks, and rust-embed is reading in between chunks? |
That might be the case. I'm probably going to ask there too. Any idea what I could do on this end? 😅 |
@peacememories does it work with other static file servers like Maybe adding a log or print here would help out to find the root cause of the issue. |
Sorry for the late reply, holidays tend to screw with my schedule^^ |
Correction, it seems our go-based webserver has the same problem. |
Hi, and thanks for developing this invaluable tool :)
I've got a bit of a problem. I'm serving the content of the embedded folder via
actix-web
, and running a parcelwatch
job for frontend development. This frontend tooling has autoreloading, so when thewatch
job builds a new version of my frontend the page gets reloaded. This almost always results in only half of the javascript file getting served and the reload aborting because of it.I don't know how rust-embed works internally, but I'm assuming this is because rust-embed reads the file at a time where it's not done being written?
The text was updated successfully, but these errors were encountered: