diff --git a/src/Devel/Compile.hs b/src/Devel/Compile.hs
--- a/src/Devel/Compile.hs
+++ b/src/Devel/Compile.hs
@@ -44,7 +44,7 @@
 
 import System.FilePath.Posix (takeExtension, pathSeparator)
 import System.Directory (doesFileExist)
-import Data.List (union, delete, isInfixOf, nub, (\\))
+import Data.List (union, delete, isInfixOf, nub)
 import Data.Maybe (fromMaybe)
 import Control.Monad (filterM)
 
@@ -88,8 +88,12 @@
       -- nub to remove duplicates yet again.
       sourceList = nub $ delete "app/DevelMain.hs" $ delete "app/devel.hs" sourceList'
 
-  -- Drop leading "./" in filepaths with `map (\x -> x \\ "./") sourceList`
-  return $ map (\x -> x \\ "./") sourceList -- sourceList
+  -- Drop leading "./" in filepaths
+  return $ map removeLeadingDotSlash sourceList
+    where
+        removeLeadingDotSlash ('.':'/':xs) = xs
+        removeLeadingDotSlash xs = xs
+
 
 
 -- | Determining the target files and creating the session update.
diff --git a/wai-devel.cabal b/wai-devel.cabal
--- a/wai-devel.cabal
+++ b/wai-devel.cabal
@@ -1,5 +1,5 @@
 name:                wai-devel
-version:             0.0.0.3
+version:             0.0.0.4
 synopsis:            A web server for the development of WAI compliant web applications.
 description:         A development server for WAI applications.
 homepage:            https://github.com/urbanslug/wai-devel
