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

Autodetect NODESCREENSHOT_SHOW? #5

Open
sindresorhus opened this issue Jul 13, 2014 · 3 comments
Open

Autodetect NODESCREENSHOT_SHOW? #5

sindresorhus opened this issue Jul 13, 2014 · 3 comments

Comments

@sindresorhus
Copy link

If you like to use this on travis or with a framebuffer like xvfb than you need to set the environment variable NODESCREENSHOT_SHOW to 1. (export NODESCREENSHOT_SHOW).

Any way you can auto-detect this? Not a big fan of requiring users to set this manually.

@FWeinb
Copy link
Owner

FWeinb commented Jul 15, 2014

I don't really know a solution for this. But this flag is only necessary if you don't have a window environment, like on travis.
Maybe there is a way to detect if there is no window environment?

@sindresorhus
Copy link
Author

That's what I'm asking for, but no idea how.

@FWeinb
Copy link
Owner

FWeinb commented Jul 16, 2014

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