Roo-Code/.gitignore
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

37 lines
324 B
Text

.pnpm-store
dist
out
out-*
node_modules
coverage/
.DS_Store
# Builds
bin/
roo-cline-*.vsix
# Local prompts and rules
/local-prompts
# Test environment
.test_env
.vscode-test/
# Docs
docs/_site/
# Dotenv
.env
.env.*
!.env.*.sample
#Local lint config
.eslintrc.local.json
#Logging
logs
# Vite development
.vite-port