-
-
Notifications
You must be signed in to change notification settings - Fork 780
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 doesn't work with Colima #420
Comments
hi, any update for this issue? |
sorry I use orbstack, I think it's better replacement for Docker Desktop for mac. |
Looks like the fix was merged 15 days ago so this should be working in the next release or built from source on main branch? |
Hi @zachgrayio , |
I think v1.46.0 should fixed |
It’s still not working. The |
The existing // .air.yaml
+ # Use polling instead of fsnotify to workaround Colima comptibility issue:
+ # - https://github.com/cosmtrek/air/issues/420
+ poll = true
+ poll_interval = 500 # ms P.s. M1, Sonoma 14.2, Colima at |
For
air
users hoping to use Colima as a replacement for Docker Desktop for Mac, unfortunately today the two don't work together, because file change events from Colima are sent as an event type that's filtered out byair
, as is discussed here. abiosoft/colima#261 (comment)To make this work, the
chmod
events frominotify
viafsnotify
need to be consumed byair
and trigger a reload; today they are the 1 event type that is filtered out. #418 fixes this by removing the code which was filtering chmod/modified events.Thanks!
The text was updated successfully, but these errors were encountered: