Open al3x-lm opened 2 months ago
@al3x-lm Thanks for being thorough, this made it much easier to come to a good solution : )
In this commit we make sure that the check is case insensitive on windows: https://github.com/continuedev/continue/commit/a3fa8653b92e0f54b1ede875ab07b5ffeeea9aa9
I'll leave the issue open until we've had the chance to release in pre-release and validate the fix
Before submitting your bug report
Relevant environment info
Description
The VsCodeExtension file is listening for config changes but it is not getting triggered on windows due to an inconsistency on the system path, one method returns a lower case drive letter on windows and the other returns an upper case drive letter.
I temporarly used filepath.toLowerCase() === getConfigJsonPath().toLowerCase(). Is there a better way to handle the system filepath?
To reproduce
` vscode.workspace.onDidSaveTextDocument(async (event) => { // Listen for file changes in the workspace const filepath = event.uri.fsPath;
this returns
Log output
No response