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

Air keeps hanging and not reloading under wsl2 #679

Open
salirzv opened this issue Nov 5, 2024 · 3 comments
Open

Air keeps hanging and not reloading under wsl2 #679

salirzv opened this issue Nov 5, 2024 · 3 comments

Comments

@salirzv
Copy link

salirzv commented Nov 5, 2024

I have a standard air config generated by init command. problem is that sometime air just stops responding and not watching the files anymore and I cant even exit out of it by Ctrl + C and I need to reboot wsl to make it quit.

I have no idea where to begin to look for error since the error is so random and general. any ideas?

everything is the latest version, WSL is a standard debian instance

Screenshot 2024-11-05 192304

@istyf
Copy link
Contributor

istyf commented Nov 5, 2024

You seem to have an error on line 9 in your own main.tmpl that causes the run to stop. You have to start by fixing that issue.

I have seen similar lockups on my WSL2 machine and hope that #670 and #674 get reviewed soon to fix those issues.

@salirzv
Copy link
Author

salirzv commented Nov 5, 2024

You seem to have an error on line 9 in your own main.tmpl that causes the run to stop. You have to start by fixing that issue.

I have seen similar lockups on my WSL2 machine and hope that #670 and #674 get reviewed soon to fix those issues.

@istyf I'm aware of the error, other projects that I used go with air the app kept rebuilding after an error on file change.
and it happens even if there is no error

@istyf
Copy link
Contributor

istyf commented Nov 5, 2024

I agree. It should work in either case. Let’s hope that someone has the time to look at the PR:s soon.

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

2 participants