Skip to content

Commit 354bf1f

Browse files
committed
Gradle, JS, run: don't add dependency from project run task
As js webpack-dev-server will not finish
1 parent 45d4a9d commit 354bf1f

File tree

1 file changed

+0
-5
lines changed
  • libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js

1 file changed

+0
-5
lines changed

libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/targets/js/KotlinJsTarget.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ class KotlinJsTarget(project: Project, platformType: KotlinPlatformType) :
3636
val runTask
3737
get() = project.tasks.maybeCreate(runTaskName).also {
3838
it.description = "Run js on all configured platforms"
39-
if (runTaskName != runTaskNameSuffix) {
40-
project.whenEvaluated {
41-
project.tasks.maybeCreate(runTaskNameSuffix).dependsOn(it)
42-
}
43-
}
4439
}
4540

4641
val browser by lazy {

0 commit comments

Comments
 (0)