Stuck : Slow compiling changes

vue-cli

#1

I am using VUE CLI and vue.config.js

I have a project where I us thousands of images and they are placed within public, but when I save a file it take around 2-10 minutes to reload. I cannot use require() I need to use load images dynamically.

Im stuck, is there a way I can ignor the scanning of a folder of files in the public folder while I am in development ?

Many thanks


#2

This might help:

module.exports = {
  devServer: {
    watchContentBase: false,
  }
}