cli: build plugin after creation

This commit is contained in:
Patrik Oldsberg
2020-03-04 12:50:05 +01:00
parent 1d15e48800
commit cd8dae40cf
@@ -212,8 +212,7 @@ const buildPlugin = async (pluginFolder: string) => {
const prom_exec = promisify(exec);
// const commands = ['yarn', 'yarn build'];
const commands = ['yarn'];
const commands = ['yarn', 'yarn build'];
for (const command of commands) {
process.stdout.write(chalk.green(` executing\t${chalk.cyan(command)}`));
try {