GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
This adds the option mentioned in pupeno/prerenderer#11
Add the :working-directory option to the options map to specify the w…
…orking directory for Node.js
I'm just wondering, should :working-directory be "." by default or should it be nil and have the old behaviour in that case? What do you think?
Otherwise, is "." cross platform?
"." should work fine at least on any bsd/linux/osx/windows. I'd leave it as is and fix if any issues arise, which I doubt would happen.
Are there any chances of getAbsolutePath failing or giving surprising results here?
None that I'm aware of.