Using Grunt for WordPress Theme Development and Deployments

There are plenty of options if you’re looking to use CSS preprocessors and JavaScript linting in your development workflow, but none as flexible and extensible as Grunt. In the past, I used CodeKit to handle all of this work, but Grunt has since taken over, giving me additional options such as deployments with greater control over the entire process. With one JavaScript file in the root of my WordPress theme, I can control Compass output paths, JSHint options, UglifyJS concatenation and minification, setup browser live reloading and multiple server deployments, allowing for easy expansion and adaption as things continue to change and grow. »

Managing WordPress Theme Deployments with Git

You’re using version control for all of your code, right? One part of the process that took me longer than I would have liked to master is deployments via git. I use Bitbucket for all of my private repositories (I have a free unlimited account, so I haven’t found a need to pay for Github) and I wanted to find a way to deploy via the command line in the same way I push code to Bitbucket. »