diff --git a/server.d b/server.d index 7613d0e..80c7289 100644 --- a/server.d +++ b/server.d @@ -49,8 +49,6 @@ int main(string[] args) Log.info("Starting up..."); StopWatch sw = StopWatch(AutoStart.yes); - // No relative paths - version (Posix) chdir("/"); Log.output = stdout; Log.level = LogLevel.trace; @@ -100,6 +98,9 @@ int main(string[] args) Log.info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds"); ModuleCache.estimateMemory(); + // No relative paths + version (Posix) chdir("/"); + while (true) { auto s = socket.accept();