1 | import { exec } from 'command-interface';
|
2 | export const name = 'watch';
|
3 | export const alias = 'w';
|
4 | export const description = 'Starts watchers for `build` and `sync` in new tabs.';
|
5 | export const args = {};
|
6 | export async function cmd(args) {
|
7 | const path = process.cwd();
|
8 | await exec.inNewTab(`msync sync -w`, path);
|
9 | await exec.inNewTab(`msync build -w`, path);
|
10 | }
|