Skip to main content

asymptote watch

Watch for code changes and scan in real-time. This is useful during development to catch issues as you write code.
asymptote watch [path] [flags]

Usage

Watch the current directory:
asymptote watch
Watch a specific path:
asymptote watch ./src
$ asymptote watch ./src

Watching ./src for changes...

 Initial scan complete - 0 issues found

  Waiting for changes...

[14:32:15] Change detected: src/api/auth.ts
[14:32:15] ✓ No issues found

[14:33:42] Change detected: src/db/users.ts
[14:33:42] ⚠ 1 issue found
           HIGH: Potential SQL injection at line 28

[14:35:18] Change detected: src/db/users.ts
[14:35:18] ✓ No issues found

Flags

FlagTypeDescription
--path <path>stringPath to watch (default: current directory)
--debounce <ms>numberDebounce time in milliseconds (default: 500)
--exclude <patterns>string[]Glob patterns to exclude from watching
--severity <level>stringMinimum severity to report
--notifyboolSend desktop notifications for issues

Examples

With desktop notifications

Get notified when issues are found:
asymptote watch --notify

Custom debounce

Increase debounce for large projects:
asymptote watch --debounce 1000

Exclude directories

asymptote watch --exclude "**/node_modules/**" --exclude "**/dist/**"

IDE Integration

Watch mode works great alongside your IDE. Run it in a separate terminal while you code to get instant feedback on security issues.
For deeper IDE integration, check out our plugins for Cursor, Claude Code, and Windsurf.

Next: Monitor AI sessions

Monitor AI coding sessions for policy violations.