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

Seeing double 👁️ 👁️ #8

Closed
j-mnr opened this issue Oct 19, 2022 · 3 comments
Closed

Seeing double 👁️ 👁️ #8

j-mnr opened this issue Oct 19, 2022 · 3 comments

Comments

@j-mnr
Copy link

j-mnr commented Oct 19, 2022

Hello there fellow gopher 👋 😁

Great tool, trying it out in place of entr which I feel has a cumbersome CLI.

When I'm write a file with the command gaze -c 'go test' example_test.go I get my output double to the console. Meaning the tests run once and then run immediately again.

image

You can see that right after exit status 1 another [go test] is performed.

I thought it may just be improper use of the -c flag on my part, but even when I remove it, the output always doubles up.

image

Removing my editor (nvim) from the equation seems to fix the doubling up, but how would I write tests then? 😂

image

I'm not fully convinced it's to do with my editor as entr has no trouble running the command one time properly

image

If you need me to clarify anything let me know.

Cheers 🍻

@wtetsu
Copy link
Owner

wtetsu commented Oct 20, 2022

Hi, thank you for your report!

In my env (On macOS Monterey),
nvim reproduces the phenomenon you reported (vim worked as expected, though)

Let me investigate more later, thank you!

@wtetsu
Copy link
Owner

wtetsu commented Oct 20, 2022

Hi, probably v1.1.4 fixed the problem.

If you are a mac user, you can wait brew package release and run brew upgrade (it takes several days)
Or, you can download binaries here.

https://github.com/wtetsu/gaze/releases

@j-mnr
Copy link
Author

j-mnr commented Oct 20, 2022

Yup the latest release fixed it, Thanks! 😄

image

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