Archive for the ‘grunt.js’ category

Using grunt.js on a windows machine.

November 27th, 2012

I have been doing some research on some tools to automate the minification and testing and whatnot of my javascript code and I came across grunt.js found here:  This library looks very promising and simple to install via npm with just “npm install -g grunt” and that places it globally in your system ready to use in any project.  All you have to do is have a grunt.js file located in the root of your project and then open up a command line in windows to execute it and it will do its thing, only in windows the “grunt” command actually opens the grunt.js file so what you have to do in windows is  type grunt.cmd instead.  I hope this helps someone out, it cost me a little bit of time trying to figure that out.