modd icon indicating copy to clipboard operation
modd copied to clipboard

no de-duplication of triggered items

Open AndrewSav opened this issue 1 year ago • 0 comments

I can see that this repo is not being maintained, but I'll leave it here nonetheless, in case someone takes over in a fork, or the owner returns.

On Windows create modd.conf like this:

@shell = powershell

a b c {
  prep: $a = '@mods'; $a -split " " | Write-Host
}

Create files a, b and c in the same folder as modd.conf. Run modd:

"./a"
"./b"
"./c"
"./a"
"./b"
"./c"
"./a"
"./b"
"./c"

All files are getting triggered 3 times, and it will get worse when you add more files. I do not believe this is platform specific, but I observed this on Windows.

AndrewSav avatar Nov 30 '23 09:11 AndrewSav