mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 10:39:32 +01:00
Merge pull request #722: fix: don't point the Ralph @fix_plan.md watcher at a remote session's directory
This commit is contained in:
commit
66528962ee
3 files changed
+119
-2
No files matched your search
+4
-2
@@ -2062,8 +2062,10 @@ export class WebServer extends EventEmitter {
|
||||
this.runSummaryTrackers.set(session.id, summaryTracker);
|
||||
summaryTracker.recordSessionStarted(session.mode, session.workingDir);
|
||||
|
||||
// Set working directory for Ralph tracker to auto-load @fix_plan.md (not supported for external CLIs)
|
||||
if (!isExternalCliMode(session.mode)) {
|
||||
// Set working directory for Ralph tracker to auto-load @fix_plan.md (not supported for external CLIs).
|
||||
// A remote session's workingDir is a path on the remote host, and the watcher reads and
|
||||
// fs.watch()es it on the LOCAL disk, so it is skipped there too.
|
||||
if (!isExternalCliMode(session.mode) && !session.remote) {
|
||||
session.ralphTracker.setWorkingDir(session.workingDir);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user