mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
disable mongo bootstrap from build
This commit is contained in:
@@ -51,7 +51,7 @@ gulp.task('build:prepare-mongo', async () => {
|
||||
console.log('MongoDB data folder is missing, setting up.'); // eslint-disable-line no-console
|
||||
|
||||
// use run-rs without --keep, kill it as soon as the replica set starts
|
||||
const runRsProcess = spawn('node', ['../scripts/start-local-mongo.mjs --build-db']);
|
||||
/* const runRsProcess = spawn('node', ['../scripts/start-local-mongo.mjs --build-db']);
|
||||
|
||||
for await (const chunk of runRsProcess.stdout) {
|
||||
const stringChunk = chunk.toString();
|
||||
@@ -79,6 +79,8 @@ gulp.task('build:prepare-mongo', async () => {
|
||||
|
||||
throw new Error(`Error running run-rs: ${error}`);
|
||||
}
|
||||
|
||||
*/
|
||||
});
|
||||
|
||||
gulp.task('build:dev', gulp.series(
|
||||
|
||||
Reference in New Issue
Block a user