@dmmulroy/overseer 0.6.1 → 0.7.0

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/bin/os CHANGED
@@ -166,6 +166,9 @@ Examples:
166
166
  process.env.PORT = String(port);
167
167
  process.env.NODE_ENV = "production";
168
168
 
169
+ // Preserve original cwd for CLI calls (must happen before chdir)
170
+ process.env.OVERSEER_CLI_CWD = process.cwd();
171
+
169
172
  // Static files are in dist/ui/static/ relative to package root
170
173
  const uiDir = join(__dirname, "..", "dist", "ui");
171
174
  process.env.OVERSEER_UI_STATIC_ROOT = join(uiDir, "static");