Grunt is very slow on a homestead (virtualbox + vagrant)
It takes ages for grunt to run my tasks under homestead. I already swapped to NFS - but it's still so slow. Is there any workaround to make grunt tasks faster with Homestead?
Grunt watch shows 0.3 ms, but it has like 10 seconds delay before detecting file changes....
Slow probably just means it's backed up on CPU cycles. Do you only have 1 core enabled for the VM? Do you have a good CPU in the host computer? SSD/HDD?
If you install grunt globally on your host machine, it should use the dependencies you've installed into your project folder from within the vm. This is what I recommend doing (as @mrobit also said) since then file change detection can all happen on your host machine.
@heihachi88 I am experiencing this problem as well. Have you solved it or just settled on installing NodeJS on host machine? I am thinking about Homestead for VMWare (which is new).
I totally understand why you didn't want to install it on host machine. By installing whole Homestead/Vagrant box loses point. I just want to keep host machine clean and do whatever on VM and just replace it when something goes wrong.