mage2tv / magento-cache-clean

A faster drop in replacement for bin/magento cache:clean with file watcher
BSD 3-Clause "New" or "Revised" License
531 stars 63 forks source link

watcher not initialize #87

Closed zaheerbadi closed 3 years ago

zaheerbadi commented 3 years ago

I am running this on ubuntu with magento2.3.6 and nodejs8.10.0 but when trying to run this watcher it gives me the error like

image

Vinai commented 3 years ago

Thanks for trying the cache-watcher and for posting the issue. Please check the [known issues]()https://github.com/mage2tv/magento-cache-clean#known-issues in the readme for the solution to your problem.

In short, run the following command: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

zaheerbadi commented 3 years ago

Thank you very much vinai. It was my mistake to not check in to known issue :smile: