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

chore(cli): add watch ignored

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