Regenerating variabless sas on theme edit v1

This commit is contained in:
Dominik Prokop
2019-02-12 21:54:20 +01:00
parent 0a66d8afc7
commit 2542a43ec0
12 changed files with 562 additions and 174 deletions

23
scripts/cli/start.js Normal file
View File

@ -0,0 +1,23 @@
const concurrently = require('concurrently');
const startTask = async () => {
try {
const res = await concurrently([
{
command: 'nodemon -e ts -w ./packages/grafana-ui/src/themes -x yarn run themes:generate',
name: 'SASS variables generator',
},
{
command: 'webpack-dev-server --progress --colors --mode development --config scripts/webpack/webpack.hot.js',
name: 'Dev server',
},
], {
killOthers: ['failure', 'failure'],
});
} catch (e) {
console.error(e);
process.exit(1);
}
};
startTask();