Skip to content

Commit 2dae867

Browse files
committed
fix: revert --api-port auto-watch, require --watch explicitly; fix README examples
1 parent 54407a0 commit 2dae867

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ rustplorer -a addresses.txt --watch --interval 30 --api-port 3000
242242
Start an HTTP server to manage target addresses dynamically and visualize deposits:
243243

244244
```bash
245-
rustplorer -a addresses.txt --api-port 3000 -o deposits.jsonl
245+
rustplorer -a addresses.txt --watch --api-port 3000 -o deposits.jsonl
246246
```
247247

248248
Open `http://localhost:3000` in your browser for the real-time deposit dashboard with dark/light theme, address management, and live deposit ledger.

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
107107
return Ok(());
108108
}
109109

110-
if args.watch || args.api_port.is_some() {
110+
if args.watch {
111111
run_watch_mode(args).await
112112
} else {
113113
run_single(args).await

0 commit comments

Comments
 (0)