holepunchto / pear

combined Peer-to-Peer (P2P) Runtime, Development & Deployment tool
https://docs.pears.com/
Apache License 2.0
91 stars 9 forks source link

Cannot Run Two App Instances #33

Closed mattdesl closed 2 days ago

mattdesl commented 6 months ago

Going through this guide: https://docs.pears.com/guides/making-a-pear-desktop-app

I can run the first app instance just fine and create a topic. However, running a second pear dev in a separate terminal window has no effect. If I close the dev app, then re-run the command it's fine, but again I can only ever have 1 instance running at a time.

mafintosh commented 6 months ago

Ya they are all single instance atm. To run two explicitly give the 2nd one a storage dir like so

pear dev -s /tmp/another-instance

PR to clarify that is super welcome (you are not the first one to be confused).

mattdesl commented 6 months ago

:+1: PR added to pear-desktop repo..

davidmarkclements commented 2 days ago

resolved