mirror of https://github.com/embarklabs/embark.git
c5b11ae6c7
Fix hang when the storage provider (IPFS or Swarm) was started externally before running Embark. If IPFS/Swarm was already running before `embark run` was run, then the relevant `registerProvider` and `setProvider` code was not being run through the console, and thus the module init event was never fired, preventing the DApp from being built. This PR refactors the way the IPFS/Swarm process is launched so that the `registerProvider` and `setProvider` code snippets are run through the console in the case of: * IPFS/Swarm running externally from Embark * IPFS/Swarm started in a child process by Embark * Storage is disabled in the DApp config |
||
---|---|---|
.. | ||
node | ||
async.js | ||
blockchain.js | ||
embark.js | ||
index.js | ||
messages.js | ||
names.js | ||
storage.js | ||
utils.js |