Skip to content
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

Make it do a full recompile if needed #229

Open
m1ga opened this issue May 17, 2024 · 0 comments
Open

Make it do a full recompile if needed #229

m1ga opened this issue May 17, 2024 · 0 comments

Comments

@m1ga
Copy link
Contributor

m1ga commented May 17, 2024

One issue with Liveview is that you can change files like images, i18n files or modules. Reacts "Fast Refresh" will fall back to a full reload if you change files outside the React tree

Finally, if you edit a file that's imported by modules outside of the React tree, Fast Refresh will fall back to doing a full reload

It would be a nice addition to Liveview if it would do a full rebuild when you change files that are handled during compile time. It should show a note at the top like "Please wait. Doing a full rebuild..." during that phase. That way you can have Liveview running even if you add new images and it will be instand refreshes for e.g. JS files and a rebuild for e.g. images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant