Skip to content

Commit 0def8e1

Browse files
Merge pull request #124 from restackio/quickstartBrowser
Open browser
2 parents 0075788 + 614f3ba commit 0def8e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

quickstart/src/services.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
from src.client import client
55
from src.workflows.workflow import GreetingWorkflow
66
from watchfiles import run_process
7+
from restack_ai.restack import ServiceOptions
8+
import webbrowser
9+
710
async def main():
811

912
await client.start_service(
@@ -20,6 +23,7 @@ def run_services():
2023
def watch_services():
2124
watch_path = os.getcwd()
2225
print(f"Watching {watch_path} and its subdirectories for changes...")
26+
webbrowser.open("http://localhost:5233")
2327
run_process(watch_path, recursive=True, target=run_services)
2428

2529
if __name__ == "__main__":

0 commit comments

Comments
 (0)