From 72208ba6baa0cf60ae5c7bdc192dece587274549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 4 Jan 2019 20:16:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=8D=E5=BA=94=E9=85=8D=E7=BD=AE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ index.js | 6 ++++++ package.json | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) 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",