Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
command: 'nodemon -e ts -w ./packages/grafana-ui/src/themes -x yarn run themes:generate',
name: 'SASS variables generator',
},
hot
? {
command: 'webpack-dev-server --progress --colors --config scripts/webpack/webpack.hot.js',
name: 'Dev server',
}
: {
command: `webpack --progress --colors --watch --env.noTsCheck=${noTsCheckArg} --config scripts/webpack/webpack.dev.js`,
name: 'Webpack',
},
];
try {
await concurrently(
jobs.filter(job => !!job),
{
killOthers: ['failure', 'failure'],
}
);
} catch (e) {
console.error(e);
process.exit(1);
}
};