Watchify example with polling
quentindemetz opened this issue · 1 comments
quentindemetz commented
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 commented
Got it:
browserify: {
dist: {
files: {
'public/build.js': 'node_modules/src/main.js'
},
options: {
watch: true,
keepAlive: true,
browserifyOptions: {
debug: true
},
watchifyOptions: {
poll: true
}
}
}
},