the serve command try to watch all the files in the serving directory, including the node_modules, what results in ENOSPC error on linux when trying to watch too many files.
Source for the bug: jestjs/jest#3254
exclude the node_modules directory when watching files.
the
servecommand try to watch all the files in the serving directory, including thenode_modules, what results inENOSPCerror on linux when trying to watch too many files.Source for the bug: jestjs/jest#3254
exclude the
node_modulesdirectory when watching files.