Don't know why I didn't get this to work before with the cwd workaround...
See: https://github.com/xojs/xo/issues/733