Commit 645df39
committed
fix: remove sys.path.append to restore uvx environment isolation
Removed sys.path.append('.') from server.py:426 that was breaking uvx
environment isolation. This was causing watchdog dependency conflicts
between local development and uvx environments, preventing file watcher
from starting properly in uvx mode.
The fix maintains clean uvx isolation while preserving all functionality:
- File watcher auto-refresh now works correctly in uvx environment
- No dependency conflicts between local and uvx environments
- All existing functionality preserved
Tested with comprehensive file watcher validation:
- New file creation triggers auto-indexing (6s debounce)
- File modifications update index automatically
- Observer status remains healthy
Bumped version to v1.1.1 for this critical uvx compatibility fix.1 parent 9c42ad7 commit 645df39
File tree
4 files changed
+3
-5
lines changed- src/code_index_mcp
4 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
427 | 425 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments