abc-team / generator-kissy-cake

yeoman generator for kissy cake
9 stars 1 forks source link

Windows下测试用例失败,spawn时无法找到grunt #37

Closed neekey closed 11 years ago

neekey commented 11 years ago

到执行grunt时报错:

Error: spawn ENOENT

解决方案是修改为

var child = ChildProcess.spawn( 'grunt.cmd', args, {
        cwd: path
});
neekey commented 11 years ago

fixed: https://github.com/abc-team/generator-kissy-cake/commit/c8d43e1e838629d95c893ac45a321b9293172447