diff --git a/src/app.js b/src/app.js index c8c2e9bd90..01ac593ed1 100644 --- a/src/app.js +++ b/src/app.js @@ -371,7 +371,7 @@ function run () { var compiler = new Compiler((url, cb) => { var provider = fileManager.fileProviderOf(url) if (provider && provider.exists(url)) { - cb(null, provider.get(url, cb)) + return provider.get(url, cb) } handleImports.import(url, (error, content) => { if (!error) {