mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-06-12 04:41:15 -04:00
This will work in both docker and outside of docker, and tunes the load on a docker container running webpack to not overly burden a local host’s cpu watching for changes. By default, webpack-dev-middleware is supposed to be watching, but in practice this seems to not be the case in docker containers, as fsevents are not passed through the NFS mount into a container and it requires explicit polling to enable watching for changes. |
||
---|---|---|
.. | ||
handler.js | ||
index.js | ||
log.js |