mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
Set 'buildingInProgress' to false after successful config build to not lock other builds
- Log build in progress to console - webpack, not weebpack, weebs! - Add yarn.lock
This commit is contained in:
@@ -104,6 +104,8 @@ const webpackBuildTask = {
|
||||
await sleep(3000);
|
||||
}
|
||||
|
||||
console.log(`${resourceName}: started building ${configName}`);
|
||||
|
||||
buildingInProgress = true;
|
||||
currentBuildingModule = resourceName;
|
||||
|
||||
@@ -140,7 +142,7 @@ const webpackBuildTask = {
|
||||
}
|
||||
|
||||
console.log(`${resourceName}: built ${configName}`);
|
||||
|
||||
buildingInProgress = false;
|
||||
resolve();
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user