node-webshot icon indicating copy to clipboard operation
node-webshot copied to clipboard

end not emitted on OSX

Open ajouve opened this issue 8 years ago • 1 comments

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

ajouve avatar Jan 11 '17 11:01 ajouve

me too

xigongdaEricyang avatar May 20 '19 06:05 xigongdaEricyang