Roo-Code/src/core
KJ7LNW af9e471c92
dev: dynamic Vite port detection for webview development (#2339)
Implements a solution for the Vite port collision issue that allows easier development of Roo across multiple instances of VSCode in different Roo repository directories.

This may also fix crashes and strange behavior between multiple running instances that would otherwise create port conflicts. This is solved using the following automated process:
- When Vite automatically selects an alternative port, a custom plugin automatically writes the port to a '.vite-port' file in the repository root
- ClineProvider automatically reads the port from this file, falling back gracefully to port 5173 if the file doesn't exist
- No user intervention is necessary as the entire process is handled automatically
- Added detailed logging for debugging
- Added .vite-port to .gitignore

The extension now connects to the correct Vite development server port automatically, even when the default port (5173) is already in use.

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-07 15:12:41 -04:00
..
__tests__ Refactor: Improve file tool context formatting and diff error guidance (#2278) 2025-04-04 18:26:25 -04:00
assistant-message feat(browserTool): Implement resize action (#2370) 2025-04-07 09:34:32 -04:00
config Add profile management functions to API (#2251) 2025-04-03 01:40:07 -04:00
diff Refactor: Improve file tool context formatting and diff error guidance (#2278) 2025-04-04 18:26:25 -04:00
ignore Add support for a .rooignore file 2025-03-05 10:17:43 -05:00
mentions Revert "feat @-mention window path style & file with space (#1924)" (#2162) 2025-03-31 15:56:47 -05:00
prompts feat: enhance rule file loading with .roo/rules directory support (#2354) 2025-04-07 11:46:30 -04:00
sliding-window Relax provider profiles schema and log parse error to PostHog (#2139) 2025-03-30 23:07:34 -07:00
tools feat(browserTool): Implement hover action (#2368) 2025-04-07 09:35:14 -04:00
webview dev: dynamic Vite port detection for webview development (#2339) 2025-04-07 15:12:41 -04:00
Cline.ts feat: add workspace tracking to history items (#2054) 2025-04-05 08:23:10 -04:00
CodeActionProvider.ts feat: prioritize "Add to Context" and add line number tracking (#2063) 2025-03-28 12:01:16 -04:00
EditorUtils.ts feat: prioritize "Add to Context" and add line number tracking (#2063) 2025-03-28 12:01:16 -04:00
mode-validator.ts Automatically generate roo-code.d.ts (including type generation via zod-to-ts) (#2024) 2025-03-27 09:38:56 -07:00