← All tips

Bash: pipe output to both console and file

bashworkflow

Use tee to log while watching output.

pnpm build:search | tee build.log