Increase the number of system watchers if needed VS Code needs to watch for file changes to work correctly. That's why the following warning may appear because our Laravel project contains a lot of files:
VS Code system watchers
To fix it, you can run the following commands in your terminal, and then restart VS Code:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf