Search code examples
ubuntuvirtualboxjekyllnfswatch

Jekyll --watch command not working in shared folder (nfs) Mac host machine using Virtual box Ubuntu guest machine


I have a Virtual Box VM running Ubuntu. I have configured an nsf share (when I say I, someone helped me so I am not very clued up on NFS shares) so that I can work on my Mac host machine and use it's tools such as Sublime Text.

However, when I run the following command: jekyll serve --watch

When I make code changes the site is not automatically regenerated. So currently I have to stop the server and run the command again.

EDIT:

Additionally it works fine if I create a jekyll site outside of the nfs share. Just a standard normal folder on the guest machine.


Solution

  • Then uninstall Jekyll v 1.4.2 and install Jekyll v 1.2.1

    To do so run these commands,

    gem uninstall jekyll
    y
    gem install jekyll -v 1.2.1