WebSafe 3.7github.com
|
|
🏠
Skip to content

Rewatch: plain output when not running in tty#7970

Merged
cknitt merged 4 commits intorescript-lang:masterfrom
cknitt:rewatch-non-tty
Oct 18, 2025
Merged

Rewatch: plain output when not running in tty#7970
cknitt merged 4 commits intorescript-lang:masterfrom
cknitt:rewatch-non-tty

Conversation

@cknitt
Copy link
Member

@cknitt cknitt commented Oct 18, 2025

When stdout or stderr is not a terminal (e.g., for shell redirects or pipes), produce the same plain output as currently used for snapshot mode.

This also allows us to get rid of the --snapshot-output flag.

Resolves #7958.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 18, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7970

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7970

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7970

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7970

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7970

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7970

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7970

commit: c364734

@cknitt cknitt requested review from jfrolich and nojaf October 18, 2025 08:33
@cknitt cknitt enabled auto-merge (squash) October 18, 2025 12:34
@cknitt cknitt merged commit dd2ed8e into rescript-lang:master Oct 18, 2025
24 checks passed
@cknitt cknitt deleted the rewatch-non-tty branch October 22, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants

Comments