MM-51729 Fix make dev after monorepo move (#22687)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
fb2dac307b
Коммит
a25a3826ba
@@ -6,18 +6,18 @@
|
|||||||
const chalk = require('chalk');
|
const chalk = require('chalk');
|
||||||
const concurrently = require('concurrently');
|
const concurrently = require('concurrently');
|
||||||
|
|
||||||
const {getWorkspaceCommands} = require('./utils.js');
|
const {getPlatformCommands} = require('./utils.js');
|
||||||
|
|
||||||
async function watchAllWithDevServer() {
|
async function watchAllWithDevServer() {
|
||||||
console.log(chalk.inverse.bold('Watching web app and all subpackages...'));
|
console.log(chalk.inverse.bold('Watching web app and all subpackages...'));
|
||||||
|
|
||||||
const commands = [
|
const commands = [
|
||||||
{command: 'npm:dev-server:webapp', name: 'webapp', prefixColor: 'cyan'},
|
{command: 'npm:dev-server --workspace=channels', name: 'webapp', prefixColor: 'cyan'},
|
||||||
{command: 'npm:start:product --workspace=boards', name: 'boards', prefixColor: 'blue'},
|
{command: 'npm:start:product --workspace=boards', name: 'boards', prefixColor: 'blue'},
|
||||||
{command: 'npm:start:product --workspace=playbooks', name: 'playbooks', prefixColor: 'red'},
|
{command: 'npm:start:product --workspace=playbooks', name: 'playbooks', prefixColor: 'red'},
|
||||||
];
|
];
|
||||||
|
|
||||||
commands.push(...getWorkspaceCommands('run'));
|
commands.push(...getPlatformCommands('run'));
|
||||||
|
|
||||||
console.log('\n');
|
console.log('\n');
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user