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

Implement System.onTouchFile. #35

Closed
wants to merge 1 commit into from

Conversation

player-03
Copy link
Contributor

After taking another look at #28 and #27, I came up with another more general approach. Both PRs want to build a list of "touched" files, to be examined at the end of a Lime build. However, there's no reason System has to store this list. Instead, System could dispatch a couple events, and Lime could build its own list out of that.

Plus, there's potential for more uses. Anyone who wants to keep track of file operations can register their own event listener. Whereas both of the previous PRs are pretty tightly coupled to Lime.

@player-03
Copy link
Contributor Author

Update: I think I've found a better approach.

@player-03 player-03 closed this May 30, 2024
@player-03 player-03 deleted the onTouchFile branch May 30, 2024 01:03
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

Successfully merging this pull request may close these issues.

1 participant