KtorEasy icon indicating copy to clipboard operation
KtorEasy copied to clipboard

Watch pattern is not working

Open mathias21 opened this issue 4 years ago • 7 comments

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

mathias21 avatar Oct 08 '20 21:10 mathias21

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

hmmeral avatar May 05 '21 06:05 hmmeral

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

mathias21 avatar May 05 '21 08:05 mathias21

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

mathias21 avatar May 05 '21 09:05 mathias21

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!!

ABTGarcia avatar Nov 02 '21 22:11 ABTGarcia

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 ;)

mathias21 avatar Nov 03 '21 09:11 mathias21

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

ABTGarcia avatar Nov 04 '21 16:11 ABTGarcia

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

mathias21 avatar Nov 04 '21 20:11 mathias21