Add too many open files guide

This commit is contained in:
Lea Anthony
2022-08-30 07:41:46 +10:00
parent 70c484f603
commit ffb4a1360b
+8
View File
@@ -129,3 +129,11 @@ the following imports to the `<head>` 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).