Vite: Linux – number of file watchers reached

On linux systems, vite might watch too many fioles Error: ENOSPC: System limit for number of file watchers reached, watch '/home/toon/devel/gdk/gitlab/vendor/bundle/ruby/3.1.0/gems/rouge-4.1.3/lib/rouge/lexers/mathematica/keywords.rb'

We definitely can improve and reduce the number of files watched, as a workaround bumping the max_user_watches is a good idea.

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