Bindata-less builds appear to not use the filesystem #4813

Closed
opened 2025-11-02 06:03:37 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @silverwind on GitHub (Feb 8, 2020).

For rapid frontend development, I'd like to use bindata-less builds that serve files directly from public but these don't seem to work on current master. Even if I manually delete the bindata files, disable the service worker and do a make gitea (without any TAGS), I still don't see changes on frontend files reflected as if gitea still would have some sort of bindata compiled in (the binary is suspectively large).

Originally created by @silverwind on GitHub (Feb 8, 2020). For rapid frontend development, I'd like to use bindata-less builds that serve files directly from `public` but these don't seem to work on current master. Even if I manually delete the bindata files, disable the service worker and do a `make gitea` (without any TAGS), I still don't see changes on frontend files reflected as if gitea still would have some sort of bindata compiled in (the binary is suspectively large).
Author
Owner

@guillep2k commented on GitHub (Feb 8, 2020):

Can you check with gitea extract list ?

@guillep2k commented on GitHub (Feb 8, 2020): Can you check with `gitea extract list` ?
Author
Owner

@silverwind commented on GitHub (Feb 8, 2020):

./gitea embedded list worked and showed no files and after I've tested again it's now working as expected so probably not an actual issue. Thanks for the command, didn't know it.

This should enable us to use webpack dev mode and maybe even hot reloading, will check that out.

@silverwind commented on GitHub (Feb 8, 2020): `./gitea embedded list` worked and showed no files and after I've tested again it's now working as expected so probably not an actual issue. Thanks for the command, didn't know it. This should enable us to use webpack dev mode and maybe even hot reloading, will check that out.
Author
Owner

@silverwind commented on GitHub (Feb 8, 2020):

I think I figured out the root cause, see https://github.com/go-gitea/gitea/issues/10196.

@silverwind commented on GitHub (Feb 8, 2020): I think I figured out the root cause, see https://github.com/go-gitea/gitea/issues/10196.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4813