cerpus / Edlib

Edlib is an application for creating, sharing, storing and using rich interactive learning resources.
https://docs.edlib.com
GNU General Public License v3.0
40 stars 7 forks source link

Service `hub-vite` running out of file watchers #2667

Closed chrieinv closed 7 months ago

chrieinv commented 7 months ago

The hub-vite service failed to start with the message system limit for number of file watchers reached. The issue can be resolved by either increasing the number of file watchers allowed by the OS, or by instructing the build to ignore some files . To ignore changes to vendor files, add the following

        watch: {
            ignored: [
                '**/vendor/**',
            ],
        },

to the vite.config.js under server.

emmachughes commented 7 months ago

This is fine by me.