friction2d / friction

Friction Graphics
https://friction.graphics
GNU General Public License v3.0
233 stars 12 forks source link

Disable hotload/reload etc for shaders #63

Closed rodlie closed 1 year ago

rodlie commented 1 year ago

On Ubuntu, Friction reaches inotify max with 78 plugins, and as a result blocks other applications/services that also want to watch for file changes.

Watching a bunch of files that never changes is a waste of resources.

Update: it's not the watchers that's the problem, but the instances. Friction will spawn one instance for each watched file, this is BAD since the limit is 128 and with Friction running I'm at 122.