mathias21 / KtorEasy

Suggested Ktor architecture
GNU General Public License v3.0
260 stars 30 forks source link

Watch pattern is not working #2

Open mathias21 opened 4 years ago

mathias21 commented 4 years ago

Current watch pattern from application.conf is not working. Need to check why.

hmmeral commented 3 years ago

When i use embeddedServer also face this issue. Switched to EngineMain and development mode enabled. Thanks for article and sample project :)

mathias21 commented 3 years ago

Thanks for the hints here! I hope this code and the article help more people

mathias21 commented 3 years ago

You can also check the video here from Kotlin London meetup explaining the architecture and the code: https://www.youtube.com/watch?v=RXSwQHur6zM

ABTGarcia commented 3 years ago

Thank you for sharing your code and knowledge. I'm learning kotlin & ktor and, regarding this issue, I also switched to EngineMain and enabled the development mode adding the watch = [ classes ], but I'm still getting the "No ktor.deployment.watch patterns match classpath entries, automatic reload is not active" message. Have you made something more to get the watch pattern working? Maybe something related to Dockerfile? Thank you!!

mathias21 commented 3 years ago

Hola Alberto! I've been superbusy lately working in a new company since I've published this repository. Right now I won't be spending too much time on fixing this, as I see it as a minor and my day is full. But I will be open to review a PR if you finally make it work ;)

ABTGarcia commented 3 years ago

No problem! If I find the solution I will send you a PR ;). Thank you!!

mathias21 commented 3 years ago

I would appreciate if you do so. Very happy to help!