jenslind / piglet

Run Grunt tasks from OS X menubar.
MIT License
70 stars 3 forks source link

Better way to get tasks #10

Closed sindresorhus closed 9 years ago

sindresorhus commented 9 years ago

The current way tries to parse the Gruntfile. This is both slow and super fragile. It won't work on dynamically created tasks.

You could use https://github.com/sindresorhus/get-grunt-tasks instead.

jenslind commented 9 years ago

Yeah thats probably a better way of doing it! :star: Though I think Grunt should implement an easier way of getting only the tasks, because parsing stdout is not optimal either. :)