embark/packages/embarkjs/src
emizzle c5b11ae6c7 fix(@embark/storage): Fix hang when IPFS/Swarm started externally
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
2019-04-11 14:21:06 -04:00
..
node refactor: add embarkjs to the monorepo 2019-02-08 11:58:02 -06:00
async.js refactor: add embarkjs to the monorepo 2019-02-08 11:58:02 -06:00
blockchain.js fix(@embark/core): Metamask + geth warning to enable regular txs 2019-03-08 12:41:13 +11:00
embark.js refactor: add embarkjs to the monorepo 2019-02-08 11:58:02 -06:00
index.js refactor: add embarkjs to the monorepo 2019-02-08 11:58:02 -06:00
messages.js refactor: be consistent with callbacks and promises 2019-02-13 14:27:42 -05:00
names.js refactor: add embarkjs to the monorepo 2019-02-08 11:58:02 -06:00
storage.js fix(@embark/storage): Fix hang when IPFS/Swarm started externally 2019-04-11 14:21:06 -04:00
utils.js refactor: be consistent with callbacks and promises 2019-02-13 14:27:42 -05:00