[nodemon] Internal watch failed: ENOSPC: System limit for number of file watchers reached, watch '/home/murilo/Área de Trabalho/app-eparts/eparts-api/test/purchase-orders/scenario/exchange-sales-order-fixture.json' code example

Example 1: [nodemon] Internal watch failed: ENOSPC: System limit for number of file watchers reached, watch

sudo sysctl fs.inotify.max_user_watches=582222 && sudo sysctl -p

Example 2: [nodemon] Internal watch failed: ENOSPC: System limit for number of file watchers reached, watch

echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Tags:

Misc Example