node-webshot
node-webshot copied to clipboard
end not emitted on OSX
Hi,
I am trying to run this code
webshot(<h1>Hi</h1>, {siteType: 'html', shotSize: {height: 'all'}}, (err, stream) => {
stream.on('data', data => {
console.log(data);
})
stream.on('end', () => {
console.log('end');
})
});
But this is only working on unix
and not osx
any idea why ?
On osx
the console.log('end') is never called
me too