提交 6ae16fb3 编写于 作者: fxy060608's avatar fxy060608

chore(cli): add watch ignored

上级 57cb1f73
const path = require('path')
let partialIdentifier = false
module.exports = {
getPartialIdentifier () {
......@@ -21,12 +20,11 @@ module.exports = {
getWatchOptions () {
return {
ignored: [
/node_modules/,
path.resolve(process.env.UNI_INPUT_DIR, 'unpackage'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud'),
path.resolve(process.env.UNI_INPUT_DIR, 'unicloud'),
path.resolve(process.env.UNI_INPUT_DIR, 'cloudfunctions-aliyun'),
path.resolve(process.env.UNI_INPUT_DIR, 'cloudfunctions-tcb')
/node_modules/,
/unpackage/,
/uniCloud/i,
/cloudfunctions-aliyun/,
/cloudfunctions-tcb/
]
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册