Closed SirGouki closed 3 years ago
Definitely enabled on my end with an x64 debug build using VS2019. What build flags are you using?
Whatever the default were, I used the cmake to import it into VS2019 community, and just changed it to x64 Debug. I have not changed the default stuff VS adds as far as build flags are concerned.
I thought hiding the filewatcher stuff inside debug builds was snazzy, but in the end its even annoying me as I try to build/rebuild etc. I'll enable it everywhere soon 👍
As for flags, 32/64 shouldn't change anything, but I THINK the debug flag is officially: _DEBUG
, but I don't remember
Won't matter soon anyway
release
branch (if other branch, please specify)Additional Information (Steps to reproduce/Expected behavior) : When compiling the map server, the file watcher by default is only enabled if the target is x86 debug. It will not enable the file watcher if the target is x64 debug.
Workaround: remove/comment out the preprocessor code
#ifdef DEBUG
and#endif
that are aroundluautils::EnableFileWatcher()
, but this will make it active on all builds. I don't know the proper flag for Windows' 64 debug build.