lack 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/watch.js +2 -2
  2. package/package.json +1 -1
package/bin/watch.js CHANGED
@@ -9,7 +9,7 @@ const touch = () => {
9
9
  };
10
10
 
11
11
  module.exports = (dirs) => {
12
- const watchList = ['index.js', 'rules.txt', '_rules.txt', 'reqRules.txt', 'resRules.txt', 'lib'];
12
+ const watchList = ['index.js', 'rules.txt', '_rules.txt', 'reqRules.txt', 'resRules.txt', 'lib', 'dist'];
13
13
  if (dirs && typeof dirs === 'string') {
14
14
  dirs.split(',').forEach((dir) => {
15
15
  dir = dir.trim();
@@ -19,7 +19,7 @@ module.exports = (dirs) => {
19
19
  });
20
20
  }
21
21
  let timer;
22
- console.log(`Watching: ${watchList.join()}`); // eslint-disable-line
22
+ console.log(`Watching the following files/folders changes:\n${watchList.join('\n')}\n`); // eslint-disable-line
23
23
  chokidar.watch(watchList, {
24
24
  ignored: /(^|[/\\])(\..|node_modules([/\\]|$))/,
25
25
  }).on('raw', (_, filename) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lack",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "whistle extension tools",
5
5
  "author": "avenwu <avwu@qq.com>",
6
6
  "license": "MIT",