@claudetools/tools 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/setup.js +4 -2
- package/package.json +1 -1
package/dist/setup.js
CHANGED
|
@@ -504,9 +504,11 @@ if [ -f "$WATCHER_PID_FILE" ]; then
|
|
|
504
504
|
fi
|
|
505
505
|
|
|
506
506
|
# Start watcher in background if not running
|
|
507
|
+
# The watcher manages its own PID file, so don't write it here
|
|
507
508
|
if [ ! -f "$WATCHER_PID_FILE" ] && command -v claudetools &> /dev/null; then
|
|
508
|
-
nohup claudetools watch
|
|
509
|
-
|
|
509
|
+
nohup claudetools watch >> /tmp/claudetools-watcher.log 2>&1 &
|
|
510
|
+
# Give the watcher a moment to start and write its PID file
|
|
511
|
+
sleep 1
|
|
510
512
|
fi
|
|
511
513
|
|
|
512
514
|
# --- Context Injection ---
|