So I tried running WASM, but I'm still being greet...
# webassembly
k
So I tried running WASM, but I'm still being greeted with this page despite enabling GC:
I also even have this in the code:
Copy code
kotlin {
    wasm {
        binaries.executable()
        browser {
            commonWebpackConfig {
                devServer = (devServer ?: KotlinWebpackConfig.DevServer()).copy(
                    open = mapOf(
                        "app" to mapOf(
                            "name" to "google chrome",
                            "arguments" to listOf("--js-flags=--experimental-wasm-gc")
                        )
                    ),
                    static = (devServer?.static ?: mutableListOf()).apply {
                        // Serve sources to debug inside browser
                        add(project.rootDir.path)
                    },
                )
            }

            // Uncomment the next line to apply Binaryen and get optimized wasm binaries
            applyBinaryen()
        }
    }
And GC is enabled:
e
and you restarted the browser?
k
Yes
More than once
I even tried Firefox
also didn't work
p
Make sure you install update the latest Chrome
k
It is updated and I found the cause which was the blasted 1.9.20-Beta Kotlin plugin for the IDE. I uninstalled it and tada... It works
👍 1