reload page on code changes in debug mode
When running my KWeb application in debug mode from the IDE, I would like to have the browser reload the page when there are code changes.
I got this working a while back using DCEVM, however I wasn't really using it and so I removed it until I could spend time on it and get it working properly.
You can find the original code here, it shouldn't be too difficult to add it back into the current master branch if anyone would like to take a stab at it.
@stangls I was looking for this and eventually found it, it was the old documentation for the code I mentioned before: https://kweb.io/use/live-coding.html
It's probably much easier to use Ktor's autoreload and depending on your build tool, some variation of the watch/compile commands. The Ktor page provides documentation on how to do it in Gradle and IDEA
Thanks, I found appropriate solution in Ktor.
Hey @alkoclick how did you get Ktor's autoreload to work? I can't seem to get gradle either to autobuild not autoreload the webpage using the tutorial you linked!
Sorry @kernitus don't remember much anymore :/ I do remember that I also had trouble implementing it, and when I finally did it, the solution was pretty flaky, so I ended up dropping it. Sorry for the delay!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.