diff --git a/CHANGELOG.md b/CHANGELOG.md index 13af836..33c3b31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # 更新日志 +## [1.1.0] 2019-01-04 +- 实时响应配置更新。 + ## [1.0.2] 2018-12-23 - 执行优化。 diff --git a/index.js b/index.js index 237f993..0180c97 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,12 @@ function activate(ctx) { // todo... }) + vsc.workspace.onDidChangeConfiguration(_ => { + let conf = vsc.workspace.getConfiguration('BuildSystem') + + BuildSystem.__init__(conf) + }) + const build = vsc.commands.registerCommand('BuildSystem.build', _ => { BuildSystem.build() }) diff --git a/package.json b/package.json index de56dcb..2bf8b8c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "build-system", "displayName": "sublime build system", "description": "🔥 类似sublime的Build System功能, 方便快速调试一些代码片断或想法。", - "version": "1.0.2", + "version": "1.1.0", "publisher": "yutent", "author": "Yutent [@yutent]", "icon": "logo.png",