Skip to content

Connect to already running daemon #182

@hacdias

Description

@hacdias

After talking to @dryajov, we noticed that ipfsd-ctl doesn't connect to already running daemons. This code:

DaemonFactory.create().spawn({
  repoPath: "/a/beautiful/path",
  disposable: false,
  init: false,
  start: false
}, (err, node) => { console.log(node.started) })

Should print true if the there was a daemon on that repo and node.api should be populated. 😄

Metadata

Metadata

Assignees

Labels

P1High: Likely tackled by core team if no one steps upexp/expertHaving worked on the specific codebase is importanthelp wantedSeeking public contribution on this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions