aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/index.js b/src/index.js
index f90a218..eeabc4b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -250,13 +250,6 @@ module.exports = function purescriptLoader(source, map) {
250 cache.compilationFinished = true; 250 cache.compilationFinished = true;
251 }) 251 })
252 .then(() => 252 .then(() =>
253 PsModuleMap.makeMap(options.src).then(map => {
254 debug('rebuilt module map after unknown module forced a recompilation');
255
256 cache.psModuleMap = map;
257 })
258 )
259 .then(() =>
260 Promise.map(cache.deferred, psModule => 253 Promise.map(cache.deferred, psModule =>
261 ide.load(psModule) 254 ide.load(psModule)
262 .then(() => toJavaScript(psModule)) 255 .then(() => toJavaScript(psModule))
@@ -318,13 +311,6 @@ module.exports = function purescriptLoader(source, map) {
318 } 311 }
319 }) 312 })
320 .then(() => 313 .then(() =>
321 PsModuleMap.makeMap(options.src).then(map => {
322 debug('rebuilt module map after compilation');
323
324 cache.psModuleMap = map;
325 })
326 )
327 .then(() =>
328 Promise.map(cache.deferred, psModule => 314 Promise.map(cache.deferred, psModule =>
329 toJavaScript(psModule) 315 toJavaScript(psModule)
330 .then(js => sourceMaps(psModule, js)) 316 .then(js => sourceMaps(psModule, js))