benjaminRomano / grunt-manager

Manage gruntfiles from inside Atom
https://atom.io/packages/grunt-manager
MIT License
0 stars 1 forks source link

Grunt not found if in local node_modules #6

Open meetjey opened 8 years ago

meetjey commented 8 years ago

Hi,

there is a problem if you install grunt locally (per project) and not globally in PATH, it will not find grunt.

It could be cool to assume that grunt could be locally installed.

Config : Windows 10, Atom 1.8.0

Thanks !

benjaminRomano commented 8 years ago

Hey Meetjay, I'm no longer maintaining grunt-manager as I've moved over to VS Code. However, if you are interested you can make a PR that adds that functionality.

All that needs to be done is to check if grunt is available locally and use that before defaulting to the global path. That would need to be done in the following file: https://github.com/benjaminRomano/grunt-manager/blob/master/lib/gruntfile-runner.coffee