embark-area-51/lib
emizzle ee59d43c77 Handle geth process exit via crash/kill and also via killing `embark blockchain`
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.

Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.

The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.

The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1.
2018-08-21 15:08:25 -04:00
..
cmds Handle geth process exit via crash/kill and also via killing `embark blockchain` 2018-08-21 15:08:25 -04:00
coderunner callback error from runCode and use that in onDeploy codes 2018-06-14 11:10:31 -04:00
contracts Handle geth process exit via crash/kill and also via killing `embark blockchain` 2018-08-21 15:08:25 -04:00
core bare bones bulk registration example spec 2018-08-21 15:03:34 -04:00
dashboard enbale multiple arguments in dashboard 2018-08-21 15:03:34 -04:00
i18n don't sync i18n files anymore 2018-06-01 19:31:26 -04:00
modules ensure that FIFS doesn't deploy on other test and main networks 2018-08-21 15:03:34 -04:00
pipeline sorry senior lint 2018-06-15 15:58:19 -04:00
process set PWD directly instead of overriding chdir 2018-08-20 09:47:19 -04:00
processes Handle geth process exit via crash/kill and also via killing `embark blockchain` 2018-08-21 15:08:25 -04:00
tests stop provider when reseting providers 2018-08-21 15:03:34 -04:00
utils buildUrlFromConfig -- canonicalHost 2018-08-02 15:32:19 -05:00
versions removed unneeded comment 2018-06-15 17:06:59 -04:00
cmd.js warn if old cmd is used 2018-06-19 14:07:14 -04:00
constants.json Handle geth process exit via crash/kill and also via killing `embark blockchain` 2018-08-21 15:08:25 -04:00
index.js Fix for embark upload failing when embark-solc plugin is installed. 2018-08-21 15:03:34 -04:00