ezsystems / launchpad

CLI tool to bootstrap an eZ Platform project Docker stack | #justcode
https://ezsystems.github.io/launchpad
MIT License
22 stars 26 forks source link

yarn watch not working #88

Closed pboethig closed 3 years ago

pboethig commented 3 years ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version x.y.z
Environment Mac/Windows

If I activate yarn watch to watch filesystemchanges on css, html, js files the watcher does not react on any changes on editing files locally

how can we solve this

kind regards Peter

Plopix commented 3 years ago

yes that's a Mac OS issue actually...

I have bypassed that limitation by watching from the host and not inside the container...

pboethig commented 3 years ago

cool.

we have solved it this way:

module.exports = { //... watchOptions: { poll: 1000 // Check for changes every second } }; If watching does not work for you, try out this option. Watching does not work with NFS and machines in VirtualBox.

the poll config solved it.

thx

Plopix commented 3 years ago

documentation added there: https://github.com/ezsystems/launchpad/pull/89