From d1b6b09c599909de9d3c024fd17f87f8367ccce6 Mon Sep 17 00:00:00 2001 From: Brian Schott Date: Fri, 8 Aug 2014 09:17:01 +0000 Subject: [PATCH] Update README.md Clarify documentation as a result of #153 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index aab7610..c7a060d 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,18 @@ The server will attempt to read the file ```~/.config/dcd``` on Posix systems, o If it exists, each line of the file is interpreted as a path that should be searched when looking for module imports. + + +Keep in mind that DCD treats import paths the same way that the compiler does. +For example, a configuration file like this will not work as expected: + + /usr/include/dmd/ + +What you actually want is this: + + /usr/include/dmd/druntime/import + /usr/include/dmd/phobos + ##Shut down the server The server can be shut down by running the client with the correct option: