scotch/angular-brunch-seed — pull request #21 by moitias (2012-10-04 05:34:07+00:00)
Title: Repair windows batch files

Hi,
seems like npm creates .cmd files in .bin that call the actual javascript files, similar to the shell scripts it creates there.

Previously, you called the javascript files directly, that got executed correctly on *nix (and cygwin, I'd imagine) due to the hashbang which doesn't exist on Windows and Serge created the batch files to address this - eg. to call 'node node_modules/brunch/bin/brunch'.

When changing them to use node_modules/.bin, calling the node executable stuck around and thus it tried to run the generated shellscript with node, resulting in errors when running the batch files on Windows.

The extra call to the node binary is now removed and this pull should fix the batch files to run correctly on the first run for those of us that have to use Windows..

Thanks for the skeleton, though, I'm liking it!

- Matias