Make watch task work for plugins