Ver Fonte

more specific path for watching extra webpack files

Alexander Rose há 7 anos atrás
pai
commit
e346841814
1 ficheiros alterados com 5 adições e 1 exclusões
  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'
+            ],
         }),
     ],
 }