Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no de-duplication of triggered items #130

Open
AndrewSav opened this issue Nov 30, 2023 · 0 comments
Open

no de-duplication of triggered items #130

AndrewSav opened this issue Nov 30, 2023 · 0 comments

Comments

@AndrewSav
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant