You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* attempt at fixing infinite preset loop, added new tests to validate
* fixed tests for macos
* changing approach to adding a startup grace period for filewatcher class
---------
Co-authored-by: Hannia Valera <[email protected]>
- Fix infinite presets reloading loop when preset files are symlinks or include symlinked files. [#4668](https://github.com/microsoft/vscode-cmake-tools/issues/4668)
11
+
- Fix user-level tasks defined in `~/.config/Code/User/tasks.json` causing infinite spinner. [#4659](https://github.com/microsoft/vscode-cmake-tools/pull/4659)
12
+
- Fix "Copy Value" in CMake debugger copying variable name instead of value. [#4551](https://github.com/microsoft/vscode-cmake-tools/issues/4551)
13
+
- cmakeDriver: Fixes getCompilerVersion by using compilerPath instead of compilerName. [#4647](https://github.com/microsoft/vscode-cmake-tools/pull/4647)[@lygstate](https://github.com/lygstate)
Copy file name to clipboardExpand all lines: src/presets/presetsController.ts
+38-14Lines changed: 38 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1632,29 +1632,53 @@ class FileWatcher implements vscode.Disposable {
1632
1632
privatewatchers: Map<string,chokidar.FSWatcher>;
1633
1633
// Debounce the change handler to avoid multiple changes being triggered by a single file change. Two change events are coming in rapid succession without this.
1634
1634
privatecanRunChangeHandler=true;
1635
+
// Grace period flag to ignore events during watcher startup. When followSymlinks is false and
1636
+
// watched files are symlinks, chokidar may emit spurious events during initialization that
1637
+
// bypass ignoreInitial. This prevents infinite loops when reapplyPresets() recreates the watcher.
0 commit comments