Skip to content

Commit feb331c

Browse files
authored
Don't pollute the console (#15)
* Don't pollute the console * Add changeset
1 parent 645fe94 commit feb331c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.changeset/young-bananas-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@lightpanda/browser": patch
3+
---
4+
5+
Don't pollute the console with `"🐼 Running Lightpanda's CDP server…"` (#15)

packages/browser/src/serve.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ export const serve = (options: LightpandaServeOptions = defaultOptions) => {
7676
const process = spawn(executablePath, ['serve', ...flags])
7777

7878
process.on('spawn', async () => {
79-
console.info("🐼 Running Lightpanda's CDP server…", {
80-
pid: process.pid,
81-
})
82-
8379
await new Promise(resolve => setTimeout(resolve, 250))
8480
resolve(process)
8581
})

0 commit comments

Comments
 (0)