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

Adding hot-reload #119

Open
iZarrios opened this issue Jun 9, 2023 · 3 comments
Open

Adding hot-reload #119

iZarrios opened this issue Jun 9, 2023 · 3 comments

Comments

@iZarrios
Copy link

iZarrios commented Jun 9, 2023

Possibly adding hot reloading (maybe air?)

@iZarrios iZarrios changed the title Adding hot-reloading Adding hot-reload Jun 9, 2023
@Shpota
Copy link
Owner

Shpota commented Jun 13, 2023

Thank you, it is an interesting idea, I will research on this

@alfredovaldes
Copy link

It's not a proper hot reload, but you can run in a terminal on the same folder that your project is on the command docker compose up --build --force-recreate -d app to rebuild. Only the parts that have changed get rebuilt, everything else gets cached.- A frontend change took about 1 min 30 sec on my i5 quad core 11th gen laptop, a backend change took around 20 seconds. then just reload your browser tab.

@alfredovaldes
Copy link

Maybe a script that detects changes on the folder and executes this command on the background can work as an automatic hot reload-ish

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

3 participants