Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 06fe266

Browse files
author
Dimitar Kerezov
committed
chore(livesync): make code sync
1 parent b4f96be commit 06fe266

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎lib/before-watch.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function ($mobileHelper, $projectData, hookArgs) {
55
const appFilesUpdaterOptions = hookArgs.config.appFilesUpdaterOptions;
66
if (appFilesUpdaterOptions.bundle) {
77
const platforms = hookArgs.config.platforms;
8-
platforms.forEach(platform => {
8+
returnPromise.all(platforms.map(platform => {
99
const env = hookArgs.config.env || {};
1010
const config = {
1111
env,
@@ -14,8 +14,8 @@ module.exports = function ($mobileHelper, $projectData, hookArgs) {
1414
watch: true
1515
};
1616

17-
runWebpackCompiler(config, $mobileHelper, $projectData, hookArgs);
18-
});
17+
returnrunWebpackCompiler(config, $mobileHelper, $projectData, hookArgs);
18+
}));
1919
}
2020
}
2121
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /