diff options
Diffstat (limited to 'src/PursLoader')
-rw-r--r-- | src/PursLoader/Loader.purs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
68 | ffis = fromMaybe [] (loaderFFIOption parsed) | 68 | ffis = fromMaybe [] (loaderFFIOption parsed) |
69 | opts = pscOptions parsed | 69 | opts = pscOptions parsed |
70 | 70 | ||
71 | spawn pscCommand (srcs <> opts) | ||
72 | |||
73 | srcss <- globAll srcs | 71 | srcss <- globAll srcs |
74 | ffiss <- globAll ffis | 72 | ffiss <- globAll ffis |
75 | 73 | ||
@@ -91,6 +89,8 @@ loader' ref source = do | |||
91 | 89 | ||
92 | fromMaybe (pure unit) ((\path -> liftEff (addDependency ref path)) <$> foreignPath) | 90 | fromMaybe (pure unit) ((\path -> liftEff (addDependency ref path)) <$> foreignPath) |
93 | 91 | ||
92 | spawn pscCommand (srcs <> opts) | ||
93 | |||
94 | return result | 94 | return result |
95 | 95 | ||
96 | loader :: forall eff. LoaderRef -> String -> Eff (Effects eff) Unit | 96 | loader :: forall eff. LoaderRef -> String -> Eff (Effects eff) Unit |