mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 01:51:49 +08:00
Regenerating variabless sas on theme edit v1
This commit is contained in:
23
scripts/cli/start.js
Normal file
23
scripts/cli/start.js
Normal 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();
|
Reference in New Issue
Block a user