Extremely slow compilation times

I’m currently working on a UE4 plugin and after making changes in the source files and recompiling the module via the Modules window takes literally 15 minutes every time, with UE4Editor having 0,5% - 1% CPU activity on my Task Manager.

Also compiling via the ‘compile’ button is very slow as well.

Any ideas as to why this is happening or how to resolve this?

Screenshot of recompiling the Module and very low CPU activity: https://i.imgur.com/Zn9g3bF.png

Here is the total compilation time: https://i.imgur.com/REuIWom.png

My specs are:

  • CPU - i5-7600k @ 3.8GHz
  • GPU - GTX 1060 6GB
  • RAM - 16GB, 2x 8GB HyperX DDR4-2400 Kit
  • SSD - Samsung 960 EVO, 250GB