mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Prevent boards product from being included automatically * Fix config diff test * Update prepackaged plugin version Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> * Readd boards/dist to the gitignore * Does not enable the focalboard plugin by default * Update plugin version to v7.10.3 --------- Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
33 lines
865 B
JavaScript
33 lines
865 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'},
|
|
{command: 'npm:start:product --workspace=playbooks', name: 'playbooks', prefixColor: 'red'},
|
|
];
|
|
|
|
commands.push(...getPlatformCommands('run'));
|
|
|
|
console.log('\n');
|
|
|
|
const {result} = concurrently(
|
|
commands,
|
|
{
|
|
killOthers: 'failure',
|
|
},
|
|
);
|
|
await result;
|
|
}
|
|
|
|
watchAllWithDevServer();
|