north / generator-style-prototype

Yeoman Generator for Style Prototypes
362 stars 49 forks source link

remove execsync as dependency and use native child_process calls in… #68

Open kvnvelasco opened 9 years ago

kvnvelasco commented 9 years ago

I ran into some problems running this on node 0.12 and figured it was an execsync problem.

I've replaced all the execsync calls with native child_process calls.

Caveats:

If you want to maintain backwards compatibility, you may want to do node version detection and set the correct functions there. This was just to get it working for the latest node version (which I think is pretty important for new users)