浏览代码

more specific path for watching extra webpack files

Alexander Rose 7 年之前
父节点
当前提交
e346841814
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      webpack.config.js

+ 5 - 1
webpack.config.js

@@ -17,7 +17,11 @@ module.exports = {
     },
     plugins: [
         new ExtraWatchWebpackPlugin({
-            files: [ './**/*.vert', './**/*.frag', './**/*.glsl' ],
+            files: [
+                './build/node_modules/**/*.vert',
+                './build/node_modules/**/*.frag',
+                './build/node_modules/**/*.glsl'
+            ],
         }),
     ],
 }