Skip to content

Commit 10bfe50

Browse files
committed
Temporary disable handling "native" dev-platform for auto-close monitor
1 parent ab2223d commit 10bfe50

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
* Add support for the ``${command:platformio-ide.activeEnvironment}`` variable that can be used in a custom [PlatformIO Toolbar](https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-toolbar) and [VSCode variable substitution](https://code.visualstudio.com/docs/editor/variables-reference) (issue [#3588](https://github.com/platformio/platformio-vscode-ide/issues/3588))
66
* Focus on the project configuration output tab only on error (issue [#3535](https://github.com/platformio/platformio-vscode-ide/issues/3535))
7-
* Do not automatically close active serial port monitors when the "native" development platform is used (issue [#2623](https://github.com/platformio/platformio-vscode-ide/issues/2623))
87
* Fixed an issue with a task runner on Windows 7 (issue [#3481](https://github.com/platformio/platformio-vscode-ide/issues/3481))
98
* Fixed "Select All", "Undo", and "Redo" operations on macOS for PIO Home (pull [#3451](https://github.com/platformio/platformio-vscode-ide/pull/3451))
109
* Fixed an issue when the "Upload & Monitor" task selects the wrong environment (issue [#2623](https://github.com/platformio/platformio-vscode-ide/issues/2623))

src/project/tasks.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ export default class ProjectTaskManager {
178178
}
179179

180180
// skip "native" dev-platform
181-
const platform = (await this.projectObserver.getConfig()).getEnvPlatform(
182-
await this.projectObserver.revealActiveEnvironment()
183-
);
184-
if (platform === 'native') {
185-
return;
186-
}
181+
// const platform = (await this.projectObserver.getConfig()).getEnvPlatform(
182+
// await this.projectObserver.revealActiveEnvironment()
183+
// );
184+
// if (platform === 'native') {
185+
// return;
186+
// }
187187

188188
vscode.tasks.taskExecutions.forEach((event) => {
189189
const isCurrentEvent = this.areTasksEqual(this._startedTask, event.task);

0 commit comments

Comments
 (0)