From: eric thul Date: Wed, 12 Aug 2015 03:19:16 +0000 (-0400) Subject: Compiling after adding webpack dependencies X-Git-Tag: 0.3.4~1^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=bbd2a7af414f2a66280383ac2d78c6cddb4f7693;p=github%2Ffretlink%2Fpurs-loader.git Compiling after adding webpack dependencies Resolves #28 --- diff --git a/src/PursLoader/Loader.purs b/src/PursLoader/Loader.purs index 3cb99cd..b579577 100644 --- a/src/PursLoader/Loader.purs +++ b/src/PursLoader/Loader.purs @@ -68,8 +68,6 @@ loader' ref source = do ffis = fromMaybe [] (loaderFFIOption parsed) opts = pscOptions parsed - spawn pscCommand (srcs <> opts) - srcss <- globAll srcs ffiss <- globAll ffis @@ -91,6 +89,8 @@ loader' ref source = do fromMaybe (pure unit) ((\path -> liftEff (addDependency ref path)) <$> foreignPath) + spawn pscCommand (srcs <> opts) + return result loader :: forall eff. LoaderRef -> String -> Eff (Effects eff) Unit