Explorar el Código

more specific path for watching extra webpack files

Alexander Rose hace 7 años
padre
commit
e346841814
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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'
+            ],
         }),
     ],
 }