From ca8f6b2be90da3e7213527336e50b63a4044dfd6 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Fri, 20 Oct 2017 20:25:45 -0400 Subject: [PATCH] Logging when frames restart. I am still screwing up. --- lib/intval/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/intval/index.js b/lib/intval/index.js index e8a502d..8c77ce1 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -292,11 +292,13 @@ intval.frame = function (dir = null, time = null) { if (dir) { log.info('frame', { pausing : time - intval._state.frame.open }) setTimeout( () => { + log.info('frame', 'restarting') intval._state.frame.paused = false intval._startFwd() }, time - intval._state.frame.open) } else { setTimeout( () => { + log.info('frame', 'restarting') intval._state.frame.paused = false intval._startBwd() }, time - intval._state.frame.open)