Laravel npm resources compilation & watch build

  • by

run once:
npm run development
continue to run:
npm run watch

install latest npm:
npm -v
sudo npm install -g npm@latest^C

issue with too many files being watched:
sysctl –system

find /proc/*/fd -user “$USER” -lname anon_inode:inotify -printf ‘%hinfo/%f\n’ 2>/dev/null | xargs cat | grep -c ‘^inotify’

Leave a Reply

Your email address will not be published. Required fields are marked *