summaryrefslogtreecommitdiffstats
path: root/pkg/gui/file_watching.go
AgeCommit message (Collapse)Author
2021-09-01Fix misspellscodesoap
2021-04-02big refactor to give our enums actual typesJesse Duffield
2020-11-18fix lint errorsJesse Duffield
2020-10-10add some safe goroutinesJesse Duffield
WIP
2020-09-29move models folder into commands folderJesse Duffield
2020-09-29move file and submoduleJesse Duffield
2020-09-26add in-built logging support for a better dev experienceJesse Duffield
2020-03-28smart refreshing filesJesse Duffield
2020-03-09big golangci-lint cleanupJesse Duffield
2020-01-12handle when fsnotify doesn't workJesse Duffield
2020-01-08don't watch deleted filesJesse Duffield
2020-01-08minor fixupJesse Duffield
2020-01-08reduce to 50Jesse Duffield
2020-01-08improve file watchingJesse Duffield
By default, macs have 256 open files allowed by a given process. This sucks when you end up with over 256 files modified in a repo because after you've watched all of them, lots of other calls to the command line will fail due to violating the limit. Given there's no easy platform agnostic way to see what you've got configured for how many files a process can have open, I'm going to arbitrarily set the max to 200 and when we hit the limit we start unwatching older files to make way for new ones. WIP
2019-11-14add file watching for modified filesJesse Duffield
log createErrorPanel error swallow error when adding file to watcher