Skip to content

Commit 755ce0c

Browse files
authored
Merge pull request #603 from fortran-lang:bug/bg-build
bug: fixes spawning of watch-dev in VS Code
2 parents 1ba13a2 + 2301ba8 commit 755ce0c

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
1212
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
13-
"preLaunchTask": "npm: compile-dev"
13+
"preLaunchTask": "${defaultBuildTask}"
1414
},
1515
{
1616
"name": "Launch Tests",

.vscode/tasks.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@
1010
"isDefault": true
1111
},
1212
"isBackground": true,
13-
"problemMatcher": "$tsc-watch",
13+
"presentation": {
14+
"panel": "dedicated",
15+
"reveal": "never"
16+
},
17+
"problemMatcher": [
18+
{
19+
"base": "$tsc-watch",
20+
"background": {
21+
"activeOnStart": true,
22+
"beginsPattern": "asset .*",
23+
"endsPattern": "webpack .* compiled .*"
24+
}
25+
}
26+
],
1427
"detail": "webpack --mode development --watch --progress"
1528
},
1629
{

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212
- Removes duplicate diagnostic messages from the linter
1313
([#598](https://github.com/fortran-lang/vscode-fortran-support/issues/598))
1414

15+
### Fixed
16+
17+
- Fixed `npm run watch-dev` not syncing changes to spawned Extension Dev Host
18+
([#602](https://github.com/fortran-lang/vscode-fortran-support/issues/602))
19+
1520
## [3.2.0]
1621

1722
### Added

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ npm run compile-dev
5353

5454
### Developing & Debugging 🐞️
5555

56-
You can now start writing code the `watcher` task will check for compilation errors.
56+
You can now start writing code, the `watcher` task, if not running, will automatically start when debugging.
5757
You can actively debug the extension by pressing <kbd>F5</kbd> with `Launch Extension` selected.
5858

5959
👉 **Tip!** You don't need to stop and restart the development version of VS Code after each change. You can just execute `Reload Window` from the command palette in the

0 commit comments

Comments
 (0)