RangerMauve / hyper-sdk

Make your own hyper apps!
https://www.youtube.com/watch?v=HyHk4aImd_I&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=20
MIT License
290 stars 46 forks source link

archive.readFile doesn't call the callback #11

Closed ninabreznik closed 5 years ago

ninabreznik commented 5 years ago

When I call archive.readFile with the path where the file is empty, callback doesn't get triggered.

Screenshot_2019-08-11_00-54-44

If I call the same with path where file is not empty, it works fine and when I call it with wrong path, I get an error.

RangerMauve commented 5 years ago

I think this might be an issue in hyperdrive. I'd suggest opening an issue there and wrapping your calls to readFile with a timeout in the meantime.

ninabreznik commented 5 years ago

Thank @RangerMauve ! Done!