* Opens the preview in browser
()
| 532 | * Opens the preview in browser |
| 533 | */ |
| 534 | function openBrowser() { |
| 535 | console.count("openBrowser"); |
| 536 | const src = `http://localhost:${port}/${filename}`; |
| 537 | if (target === "browser") { |
| 538 | system.openInBrowser(src); |
| 539 | return; |
| 540 | } |
| 541 | |
| 542 | browser.open(src, isConsole); |
| 543 | } |
| 544 | } |
| 545 | |
| 546 | export default run; |
no test coverage detected