Does not refresh files under resources in Spring Boot Gradle project on save when running in dev container
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java, spring-boot, vscode
- 领域
- build-system, devtools
调研方向
首先,在列出的 Java 开发容器中运行附带的 demo2.zip 项目,并复现保存 src/main/resources/application.properties 的过程。将其与直接从 IDE 运行进行比较,然后跟踪开发容器情况下涉及的资源刷新路径;当编辑内容出现在 bin/main/application.properties 中,且无需手动重新构建整个项目时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
This is a similar issue as #1059 but it only occurs when running in dev container.
When editing a file under the resources folder(e.g. src/main/resources/application.properties), the same file under bin folder(e.g. bin/main/application.properties) is not getting refreshed on save if running in dev container. If it's running directly, it gets refreshed without issue.
Environment
- Operating System: Dev Container: java:1-17-bullseye / Direct run: Win11 x64
- JDK version: openjdk 17.0.7 2023-04-18 LTS
- Visual Studio Code version: 1.80.1
- Java extension version: 1.20.0
- Java Debugger extension version: 0.52.0
Steps To Reproduce
- Run attached project with Dev Container
- Try editing src/main/resources/application.properties, e.g. modifying the value of 'some.property'
- Check if the change is reflected in bin/main/application.properties
Current Result
Files under resources are not getting refreshed upon save and require manually triggering the rebuild of the entire project to get them refreshed.
Expected Result
The files under resources should be refreshed upon saving just like the behavior when running the IDE directly.
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-java-debug 的其他 Issue
-
ai-triaged enhancement
难度 3/5 1-2 天 新手友好度 55/100
microsoft/vscode-java-debug#1689 · 2 条评论 ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 条评论 · 已指派 1 人 ·
-
ai-triaged bug
难度 3/5 1-2 天 新手友好度 48/100
microsoft/vscode-java-debug#1658 · 1 条评论 ·
-
ai-triaged enhancement
难度 4/5 3-5 天 新手友好度 45/100
microsoft/vscode-java-debug#1628 · 3 条评论 ·
-
Feature support. 未关闭ai-triaged enhancement
难度 5/5 一周以上 新手友好度 25/100
microsoft/vscode-java-debug#1616 · 1 条评论 ·
查看 microsoft/vscode-java-debug 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 75/100
fil-donadoni/tolaria#4409 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
corsairdev/corsair#1764 ·