mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 05:46:03 +00:00
eca456f4cb
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
embarkjs
JavaScript library for easily interacting with web3 technologies
Visit embark.status.im to get started with Embark.