#581·grunt

communication between tasks

Author: davidpfahlerCreated Dec 15, 2012Updated Aug 12, 2026
LabelsType: EnhancementComponent: tasks

This problem became apparent in a discussion on the grunt-contrib-watch repository. The issues there was that the watch task can not tell other tasks which files where changed and triggered the watch task to run them.

This shows a general problem in grunt and that is the missing communication infrastructure between tasks. grunt.event provides a good technical implementation and I personally think events are the way to go. But what we need is a solid convention so everybody knows how grunt plugins can be talked to.

I hope we can start a discussion about this matter here.