You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context on what's happening, note that this site creates its pages in markdown. Those markdown files get converted at compile time into Kotlin code, and it's that Kotlin code which should be picked up by the KSP processing step.
When switching between branches, CreateAPage.md exists in test-ksp-1 and GettingKobweb.md exists in test-ksp-2.
To repro, we'll build a Kobweb website, which uses KSP behind the scenes to parse a project and discover all website pages.
Important
When you're done with the below steps, run
../gradlew kobwebStop
! Otherwise, the web server will keep running.You will want two terminal windows open for this one -- one will be consumed by Gradle.
Terminal 1
git clone https://github.com/varabyte/kobweb-site
&&cd kobweb-site/site
git checkout feature/dt/test-ksp-1
../gradlew kobwebStart -t
Terminal 2
kobweb-site/site
git checkout feature/dt/test-ksp-2
create-a-page
pagesrc/jsMain/kotlin/com/varabyte/kobweb/site/components/layouts/DocsLayout.kt
and make an edit.borderRadius(0.5.cssRem)
line (on line 68)If not reproduced...
Sometimes the issue doesn't always happen the first time; in that case, let's keep going. Still in terminal 2...
git reset --hard
git checkout feature/dt/test-ksp-1
src/jsMain/kotlin/com/varabyte/kobweb/site/components/layouts/DocsLayout.kt
and make an editprocess
method with invalid files.Important
When you're done with the above steps, run
../gradlew kobwebStop
! Otherwise, the web server will keep running.Note that this may be resolved by the fix to #2027 but it's possibly worth checking in case it's a separate issue.
The text was updated successfully, but these errors were encountered: