A basic Grunt configuration for working with the Bones Wordpress Starter theme. To be expanded! Compiles and compresses Sass and uses rsync to update the local installation of Wordpress for testing so I can keep my MAMP installation free of extraneous files...and simply FTP over the final result if it checks out without putting uneccessary node_modules
or .scss
files on the server by mistake. This was pretty much put together because I kept mistakenly FTPing over my .sass-cache
files like an idiot.
For this to work, the theme in development lives in 'src' inside the project directory so node_modules
, .sass-cache
, gruntfile.js
, package.json
and src
are all together in the top-level directory.
project folder
.sass-cache
gruntfile.js
node_modules
package.json
src