   console.log "edit:", filename
   onExit.push -> console.log "  done:", filename
 
+  cacheKey = getCacheKey request.text
+  if reverseCache.has cacheKey
+    request.text = reverseCache.get cacheKey
+  cacheKey = null
+
   fs.writeFile filename, request.text, (error) ->
     return exit() if error
     onExit.push -> fs.unlink filename

  version #{version}
  """

WSS  = ws.Server
wss  = new WSS port: args.port, host: config.host
wss.on "connection", (ws) -> ws.on "message", handler ws

      fs.readFile filename, "utf8", (error, data) ->
        return exit() if error
        console.log "  send:", filename
        request.text =
          if request.isContentEditable
            formattedData = formatParagraphs data
            formattedKey = getCacheKey formattedData
            reverseCache.set getCacheKey(formattedData), data
            formattedData
          else
            data
        ws.send JSON.stringify request
        continuation?()

