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

ReloadPlugin doesn't work on mac m1 + docker-compose #684

Closed
eh-am opened this issue May 8, 2023 · 0 comments
Closed

ReloadPlugin doesn't work on mac m1 + docker-compose #684

eh-am opened this issue May 8, 2023 · 0 comments
Labels
bug Something isn't working stale Issue or PR without activity

Comments

@eh-am
Copy link

eh-am commented May 8, 2023

What happened:
mage watch doesn't work out of the box. Investigating a little bit I found that the culprint is the reloadPlugin task.
make buildAll and restarting the grafana container works, though.

I think it's due to my setup: a mac m1, running grafana on docker-compose (linux vm), as per the examples here

I see 20 times the message

exec: pgrep "-f" "gpx_test_darwin_arm64"
waiting for grafana to start: gpx_test_darwin_arm64...

Which I think means it just gives up here

for i := 0; i < 20; i++ {

Also the binary name may be wrong, since the binary should be running on linux:

exeName, err := getExecutableName(runtime.GOOS, runtime.GOARCH)

Running from the grafana container:

bash-5.1# uname -ra
Linux 84261a427990 5.10.104-linuxkit #1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022 aarch64 Linux

I am glad to provide any more help if necessary.

@eh-am eh-am added the bug Something isn't working label May 8, 2023
@github-actions github-actions bot added the stale Issue or PR without activity label Feb 29, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Issue or PR without activity
Projects
Archived in project
Development

No branches or pull requests

1 participant