I couldn’t figure out why my JS wasn’t working and realised that Grunt wasn’t including my plugins from assets/js/plugins nor was it including _main.js. I had to modify my Gruntfile as shown to get things working. I thought that Grunt should automatically be packaging up these files without the need to modify my Gruntfile like so? For the sake of getting my site working I have commented out the two lines as shown but I must be doing something else wrong.
I’m using grunt dev and grunt watch as I develop locally.