doric cli

This commit is contained in:
pengfei.zhou
2019-08-03 02:03:56 +08:00
parent 740848e604
commit 99b900f2b6
8 changed files with 2253 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
var chokidar = require('chokidar')
require('shelljs/global')
exec('npm run dev', () => {
})
chokidar.watch(process.cwd() + "/build", {
ignored: /(^|[\/\\])\../,
}).on('all', (event, path) => {
console.log(event, path)
});