From ffb4a1360bd5e8eb7bfa143d444ab6ab04bfa597 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Tue, 30 Aug 2022 07:41:46 +1000 Subject: [PATCH] Add too many open files guide --- website/docs/guides/troubleshooting.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/guides/troubleshooting.mdx b/website/docs/guides/troubleshooting.mdx index 4d4fb743..48eb9232 100644 --- a/website/docs/guides/troubleshooting.mdx +++ b/website/docs/guides/troubleshooting.mdx @@ -129,3 +129,11 @@ the following imports to the `` section of any new page you navigate to: ``` Source: https://github.com/wailsapp/wails/discussions/1512 + +## I get `too many open files` errors on my Mac when I run `wails dev` + +By default, macOS will only allow you to open a maximum of 256 files. This can affect the `wails dev` command. +This limit can be increased by running: `ulimit -n 1024` in the terminal. + +FSNotify is [looking to move to Apple's fsevents](https://github.com/fsnotify/fsnotify/issues/11) for Mac. +If this isn't completed soon, we will create our own implementation, tracked [here](https://github.com/wailsapp/wails/issues/1733). \ No newline at end of file