https://kotlinlang.org logo
#ktor
Title
# ktor
s

spierce7

12/28/2018, 10:32 PM
The ktor documentation mentions not using
watchPaths
for production for performance reasons. Is there a flag to indicate production use, or do I need to provide an if block, and provide an empty list for
watchPaths
in production?
c

cy

12/29/2018, 7:53 AM
In production it should be empty or missing
There is no prod flag, you can solve it by using HOCON features such as includes
s

spierce7

12/29/2018, 3:37 PM
thx
2 Views