


I've also tried to run other individual tasks, as well as the grunt command by itself, all with no luck. Right now, the grunt command is failing, but the mkdir command runs successfully. I believe the issue may be that CodeKit does not set the CWD before calling Hooks. Any ideas as to why this might be happening? I installed the Grunt CLI following the instructions on this page, so the command should be available everywhere. Here's a screenshot of the hook I've setup in CodeKit: so I figured I'd give it a try.įor now I'm just trying to run a relatively simple uglify task as a proof of concept to see if it would work and, unfortunately, it isn't. I got the idea from this article where Chris Coyier wondered if it was possible to use both tools together. I'm not sure if this is an issue with CodeKit, the Grunt CLI, or something unique to my environment, but I'm not able to fire the grunt command using CodeKit Hooks.Įventually I'd like to run some pretty specific Grunt tasks that probably don't make sense as a feature request for future versions of CodeKit – but I still want to be able to use CodeKit for other things.
