mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-17 01:28:55 -05:00
* Remove build references * Remove playbooks webapp and server, and add the prepackaged plugin * Remove translations * Add ProductSettings to the playwright type * Restore playbooks as a prepackaged plugin for cypress e2e tests
31 lines
764 B
JavaScript
31 lines
764 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
/* eslint-disable no-console */
|
|
|
|
const chalk = require('chalk');
|
|
const concurrently = require('concurrently');
|
|
|
|
const {getPlatformCommands} = require('./utils.js');
|
|
|
|
async function watchAllWithDevServer() {
|
|
console.log(chalk.inverse.bold('Watching web app and all subpackages...'));
|
|
|
|
const commands = [
|
|
{command: 'npm:dev-server --workspace=channels', name: 'webapp', prefixColor: 'cyan'},
|
|
];
|
|
|
|
commands.push(...getPlatformCommands('run'));
|
|
|
|
console.log('\n');
|
|
|
|
const {result} = concurrently(
|
|
commands,
|
|
{
|
|
killOthers: 'failure',
|
|
},
|
|
);
|
|
await result;
|
|
}
|
|
|
|
watchAllWithDevServer();
|