Skip to content

Commit ff69196

Browse files
authored
feat(build): support auto reload in development (#38)
* feat(build): support auto reload in development * fix(ci): ci check fail
1 parent 0f0ea7e commit ff69196

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,14 @@ tasks {
111111
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
112112
channels.set(listOf(properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first()))
113113
}
114+
115+
runIde {
116+
autoReloadPlugins.set(true)
117+
}
118+
119+
buildSearchableOptions {
120+
// disable when is local development
121+
// see: https://plugins.jetbrains.com/docs/intellij/ide-development-instance.html#enabling-auto-reload
122+
enabled = System.getenv("CI") != null
123+
}
114124
}

0 commit comments

Comments
 (0)