Commit a8b86e9
authored
🤖 feat: separate data directories for dev and prod modes (#573)
When running cmux via `make start` (development mode), the data
directory is now `~/.cmux-dev` instead of `~/.cmux`. This prevents
development state from interfering with production state.
## Changes
- Set `CMUX_DEV_MODE=1` environment variable in the `start` Make target
- Modified `getCmuxHome()` to append `-dev` suffix when
`CMUX_DEV_MODE=1`
- Preserves existing `CMUX_TEST_ROOT` behavior for test isolation
## Testing
Verified with `make typecheck` - all type checks pass.
_Generated with `cmux`_1 parent b268372 commit a8b86e9
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
16 | 26 | | |
17 | 27 | | |
18 | 28 | | |
| |||
0 commit comments