You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to get this working with a swift command line tool (i.e. no ui). The server starts, but it will not accept any requests. I'm calling RunLoop.main.run() after setting up the server.
Any ideas why this might be? Is there something special that needs to be done when not doing a ui app?
The text was updated successfully, but these errors were encountered:
iloveitaly
added a commit
to iloveitaly/hyper-focus
that referenced
this issue
Nov 8, 2022
Honestly I'm not sure, I've never used Telegraph in a command-line scenario.
Instead of RunLoop.main.run() have you tried dispatchMain()?
I'll close this for now, because it isn't really a scenario Telegraph supports.
But if you could try that or otherwise share a test app, I can have a look.
I'm not able to get this working with a swift command line tool (i.e. no ui). The server starts, but it will not accept any requests. I'm calling
RunLoop.main.run()
after setting up the server.Any ideas why this might be? Is there something special that needs to be done when not doing a ui app?
The text was updated successfully, but these errors were encountered: