You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform: Darwin Mavericks-MacBook-Air.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
other tech: nwjs
I'm using node webkit to render my file output into the screen. My code is asynchronous and simple:
fs.readdir("./lib", function(err, files) {
if (err) {
return console.log(err);
}
LibDirs = files; // collected output in array
});
I then render the contents of LibDirs onto the node webkit DOM and it works great most of the time. Too often it misses one or even two files in the directory.
Why is this? Is this a bug?
The text was updated successfully, but these errors were encountered:
Can you report this to nw.js? If you want to pursue it here, please test with node.js v0.10.44 (but preferably the latest v6 release) and make sure the directory isn't being modified concurrently.
v0.10.32
Darwin Mavericks-MacBook-Air.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
nwjs
I'm using node webkit to render my file output into the screen. My code is asynchronous and simple:
I then render the contents of
LibDirs
onto the node webkit DOM and it works great most of the time. Too often it misses one or even two files in the directory.Why is this? Is this a bug?
The text was updated successfully, but these errors were encountered: