 				// ask for updated values
 				cmd = try coder.listVariables(deltaOnly: false, contextId: params.environmentId)
 			}
+			if cmd.count < 1 { logger.info("sending empty data") }
 			try worker?.send(data: cmd)
 			watchingVariables = shouldWatch
 		} catch {

	private func handleRemovePreview(previewId: Int) {
		do {
			let cmd = try coder.removePreview(previewId: previewId)
			try worker?.send(data: cmd)
		} catch {
			logger.warning("error removing preview: \(error)")

		logger.info("handleInitPreview called")
		do {
			let cmd = try coder.initPreview(fileId: updateData.fileId, updateIdentifier: updateData.updateIdentifier)
			if cmd.count < 1 { logger.info("sending empty data") }
			try worker?.send(data: cmd)
		} catch {
			logger.warning("error initing preview: \(error)")
