const execa = require('execa');
(async () => {
await execa('yarn', ['clean'], {
cwd: __dirname + '/../',
stdout: process.stdout,
stderr: process.stderr,
});
execa('yarn', ['dlx', 'gulp', 'watch'], {
execa('yarn', ['workspace', 'backend', 'watch'], {
execa('yarn', ['workspace', 'client', 'watch'], {
execa('yarn', ['workspace', 'sw', 'watch'], {
const start = async () => {
try {
await execa('yarn', ['start'], {
} catch (e) {
await new Promise(resolve => setTimeout(resolve, 3000));
start();
}
};
})();