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

How to not have cwd hard code #24

Open
franz-josef-kaiser opened this issue Jul 22, 2014 · 0 comments
Open

How to not have cwd hard code #24

franz-josef-kaiser opened this issue Jul 22, 2014 · 0 comments
Assignees

Comments

@franz-josef-kaiser
Copy link
Member

I was just trying this plugin and playing around with it. I couldn't wrap my head around.

Hard coded cwd in newly added hook

How would we share a Gruntfile.js with a team when the path is bound to our local hard drive? (Code below from Issue #11 ). Other team members might have a completely different setup. Is this plugin meant to be used by a single person on a single machine only?

exec( 'grunt jshint', {
    cwd: 'C:\Users\etc\'
}, function ( err, stdout, stderr ) {} )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant