Replies: 1 comment 8 replies
-
Great question. There is a way around this right now using task deps (below), but I want to make this easier in the future. In the shared library, you would basically add a noop task that has inputs on its files. tasks:
changed:
command: 'noop'
inputs: ['**/*'] And in all the other projects that "use" it, you can have tasks that depend on it. tasks:
build:
command: '...'
deps: ['library:changed'] |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a library in my monorepo and some projects use it not directly but through a CLI. Is there a way to force these projects to run their own CI when some files have touched into that library?
I tried dependOn, but it doesn't run the CI because moon doesn't see any touched files
Beta Was this translation helpful? Give feedback.
All reactions