(ctx context.Context)
| 747 | } |
| 748 | |
| 749 | func (s local) runUI(ctx context.Context) (err error) { |
| 750 | logInfo.Printf("Starting UI\n") |
| 751 | defer logInfo.Printf("Stopped UI\n") |
| 752 | |
| 753 | cmd := newCmd(ctx, "npm", "run", "dev", "-w", "web-local", "--", "--port", "3001") |
| 754 | cmd.Stdout = os.Stdout |
| 755 | cmd.Stderr = os.Stdout |
| 756 | return cmd.Run() |
| 757 | } |
| 758 | |
| 759 | func (s local) awaitUI(ctx context.Context) error { |
| 760 | uiURL := "http://localhost:3001" |