Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchify example with polling #370

Closed
quentindemetz opened this issue Dec 27, 2015 · 1 comment
Closed

Watchify example with polling #370

quentindemetz opened this issue Dec 27, 2015 · 1 comment

Comments

@quentindemetz
Copy link

In case of an NFS share between the host and the VM, the virtualbox adapter does not trigger filesystem events in the VM. The watchify docs mention that polling the filesystem for changes is an option but I am unable to get that to work. Could you please add an example for this in the docs?

FYI, I am using @bluejamesbond's fork of this project while the current watchify dependency is broken (3.3.1 is broken, 3.3.0 works, see #352)

@quentindemetz
Copy link
Author

Got it:

browserify: {
  dist: {
    files: {
      'public/build.js': 'node_modules/src/main.js'
    },
    options: {
      watch: true,
      keepAlive: true,
      browserifyOptions: {
        debug: true
      },
      watchifyOptions: {
        poll: true
      }
    }
  }
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant