Ionic beta12 and CLI v1.2.3 breaks with `ionic run -l -c -s` (Live Reload)
After
> bower install 'ionic#1.0.0-beta.12'
> ionic run -l -c -s
Setup Live Reload Error getting IPv4 address: Error: EMFILE: Too many opened files. (CLI v1.2.3)
(libuv) Failed to create kqueue (24) Assertion failed: (uv__stream_fd(stream) >= 0), function uv__read_start_common, file ../deps/uv/src/unix/stream.c, line 1297. [1] 892 abort ionic run -l -c -s
Revert and try again:
> bower install 'ionic#1.0.0-beta.11'
> ionic run -l -c -s
Setup Live Reload Running dev server: http://_..**._:8100 Running live reload server: http://.**._._:35729 Ionic server commands, enter:
All works fine
Edit: Also breaks with CLI 1.2.4
I've made an update to have a more friendly error, along with not watching the www/lib folder. So in your case, if the www/lib folder is no longer being watched you probably won't get the error any more. But when the project gets to have more than 256 files, it'll have better instructions on what to do.
Would you be able to test the beta by using npm install -g [email protected] and let me know how it goes? Thanks
Thanks, it's working now. Been running it for the last few hours and all is fine.
Great, thanks for creating the issue
The 1.2.5-beta1 works perfectly. My projects contains many bowers file in lib dir and was crashing with 1.2.4.