Autodetect NODESCREENSHOT_SHOW?
Opened this issue · 3 comments
sindresorhus commented
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 commented
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 commented
That's what I'm asking for, but no idea how.
FWeinb commented
Maybe something like this: http://askubuntu.com/questions/60586/how-to-check-if-xvfb-is-already-running-on-display-0