When merged in, will not watch node_modules folders for live reload (in a configurable fashion).
Just encountered:
node:internal/fs/watchers:247
const error = new UVException({
^
Error: ENOSPC: System limit for number of file watchers reached, watch [...]
when running h5p server - if you have many dependencies in a package, the number of files to watch can explode (in node_modules). Same if you just work on multiple libraries at the same time each contributing a node_modules folder.
Solved by adding a configuration item (just in case someone wants node_modules to be watched) and passing that as the exclusion property to livereload's createServer function. .git would also be a candidate, but that's covered by default already.
When merged in, will not watch
node_modules
folders for live reload (in a configurable fashion).Just encountered:
when running
h5p server
- if you have many dependencies in a package, the number of files to watch can explode (innode_modules
). Same if you just work on multiple libraries at the same time each contributing anode_modules
folder.Solved by adding a configuration item (just in case someone wants
node_modules
to be watched) and passing that as theexclusion
property to livereload'screateServer
function..git
would also be a candidate, but that's covered by default already.