Skip to content

Commit

Permalink
fix: avoid clearing screen when starting server
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Feb 21, 2022
1 parent 6bfb422 commit 015b3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getPathInHome } from './home_path.js'
import { getBinaryExtension } from './platform.js'

const DENO_VERSION_FILE = 'version.txt'
const DENO_VERSION_RANGE = '^1.18.2'
const DENO_VERSION_RANGE = '^1.19.0'

type LifecycleHook = () => void | Promise<void>

Expand Down
3 changes: 1 addition & 2 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ const serve = async (
// Wait for the binary to be downloaded if needed.
await deno.getBinaryPath()

// TODO: Add `--no-clear-screen` when https://github.com/denoland/deno/pull/13454 is released.
const flags = ['-A', '--unstable', '--watch']
const flags = ['-A', '--unstable', '--no-clear-screen', '--watch', '--no-prompt']

deno.run(['run', ...flags, preBundlePath, port.toString()], { wait: false })

Expand Down

0 comments on commit 015b3fd

Please sign in to comment.