When I Upload any file, it is not showing live uploaded status using progress;
The progress showed after whole file or folder is uploaded.
CODE:
var ipfsClient = require(‘ipfs-http-client’)
const fs = require(‘fs’);
demoCall = function(data){
console.log('uploaded : ’ + data);
}
ipfs.addFromFs(’./soft’, { recursive: true, progress: demoCall}, (err, result) => {
if (err) { throw err }
console.log(result);
})