Closed fleg closed 9 years ago
Looks like callback fired before all files are copied
console.log(fs.readdirSync(argv["from"])); ncp(argv["from"], argv["to"], function(err) { if(err) { throw err; } console.log(fs.readdirSync(argv["to"])); });
here is output (nw.js v0.12.0)
p.s. recursive copy from fs-extra work like a charm
Looks like callback fired before all files are copied
here is output (nw.js v0.12.0)
p.s. recursive copy from fs-extra work like a charm