hledger-web should warn if another instance is using the port #226

simonmichael opened this Issue Dec 22, 2014 · 1 comment


None yet

1 participant

simonmichael commented Dec 22, 2014 edited

Currently if you start two hledger-web instances without specifying a different port, the second will appear to start successfully but you will be looking at data served by the first.

@simonmichael simonmichael added this to the 1.0 milestone Sep 2, 2015
@simonmichael simonmichael added a commit that referenced this issue Apr 22, 2016
@simonmichael web: exit if an instance is already running (#226)
- pause for 0.1s before opening the browser, to ensure the app is ready
- don't open a browser if the app fails to start
- terminate the server thread more carefully on exit, may resolve some
  lingering background thread issues eg on windows
@simonmichael simonmichael reopened this Apr 25, 2016

Resolved in my wai-handler-launch fork on github, but not yet accepted upstream. See yesodweb/wai#541

@simonmichael simonmichael modified the milestone: 1.0, post 1.0 Oct 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment