Skip to content

Conversation

@omachala
Copy link
Owner

Summary

Adds --headed CLI option to run browser in visible mode, useful for debugging slow captures or timeout issues.

  • New --headed flag for the sync command
  • Documented in CLI reference
  • Tested with DISPLAY=:0 on headless Ubuntu server

Usage

heroshot --headed              # Sync all with visible browser
heroshot dashboard --headed    # Sync specific screenshots with visible browser

Test plan

  • Build passes
  • All tests pass
  • Lint passes
  • Tested manually with DISPLAY=:0 node dist/cli/cli.js --headed

Closes #49

🤖 Generated with Claude Code

Adds `--headed` CLI option to run browser in visible mode.
Useful for debugging slow captures or timeout issues.

Closes #49
@changeset-bot
Copy link

changeset-bot bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: f292989

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Use Boolean(x) instead of !!x for explicit type coercion.
@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add configuration option to disable headless mode for debugging

2 participants