mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-25 16:46:55 +08:00
2dd9d5a27e
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 |