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
Avoid losing focus #3
Comments
I couldn't find anything on |
Thanks for the answer, I'm going to check this out. |
@sindresorhus Would it be acceptable to implement a focus option that only works on Darwin to trigger |
Sure, PR welcome. |
@sindresorhus PR is out. Didn’t bump the version in case you prefer to handle that. Thanks! |
Fixes #3 Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Hi,
I am using this module with Grunt to display errors in the browser
while coding. However, the focus (on the editor) is lost after opening the browser, which is not very handy.
It would be nice if there could be an option to disable this behavior, but I am not sure
how it could be implemented cross-platform. For OS X, passing
-g
to theopen
commandshould be ok, but I cannot find any equivalent for
xdg-open
.Any ideas?
The text was updated successfully, but these errors were encountered: