Closed
Description
When I edit files Goland can save many files same time (Ctrl+S after rename refactor or after manual changes few files).
If I add golangci-lint as filewatcher with project dir param - golangci-lint start many times - once for every saved file.
I think it will good for use some lock for prevent do work multiply times. For example - create lock-file/lock-dir flag with hash of current args and env.
If lock file existed - exit with code 0.
Check lock flag for old file (for example - ignore it after a hour) - for prevent forever lock in some mistakes.