From 3fe418e0c88e090338f1e733afc0a529793233d0 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Tue, 23 Aug 2016 23:29:19 -0700 Subject: [PATCH] Include channel, events, and schedule when hashing presets --- lib/cache.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cache.coffee b/lib/cache.coffee index 79744bb..8a5f22c 100644 --- a/lib/cache.coffee +++ b/lib/cache.coffee @@ -62,6 +62,9 @@ computeHash = () -> h = crypto.createHash('md5') for p in presets h.update(JSON.stringify(p.name)) + h.update(JSON.stringify(p.channel)) + h.update(JSON.stringify(p.schedule)) + h.update(JSON.stringify(p.events)) h.update(JSON.stringify(p.precondition)) h.update(JSON.stringify(p.provisions))