adonis-cli icon indicating copy to clipboard operation
adonis-cli copied to clipboard

adonis serve --dev fails without error information if fs.inotify.max_user_watches=8192

Open hashrc opened this issue 6 years ago • 3 comments

Package version

4.0.12

Node.js and npm version

OS : ubuntu 18.04 Node JS - version - 10.4.2 Yarn version : 1.9.1

Sample Code (to reproduce the issue)

echo fs.inotify.max_user_watches=8192 | sudo tee -a /etc/sysctl.conf sudo sysctl -p adonis serve --dev

hashrc avatar Oct 30 '19 22:10 hashrc

Hey @hashrc! 👋

We would need more information about what you are trying to do.

RomainLanz avatar Oct 31 '19 08:10 RomainLanz

I was trying to start my project in newly installed ubuntu 18.04. i think the initial value of fs.inotify.max_user_watches is 8192 on ubuntu 18.04.

i think reason it doesn't give an error because nodemon exits with error code 1. package : nodemon File : nodemon/lib/monitor/watch.js line No : 112

hashrc avatar Oct 31 '19 16:10 hashrc

Shouldn't this be an issue with Nodemon instead?

thetutlage avatar Nov 07 '19 11:11 thetutlage