       return
 
     editor = atom.workspace.activePaneItem
-    console.log(editor)
-
     if editor[0]?
       text = editor[0].outerHTML
       type = 'text/html'

    server.addListener 'connection', (socket) =>
      sockets.push socket

    console.log('Broadcast started.')

  stop: ->
    if server is null

      server.close()
      server = null

    console.log 'Broadcast stopped.'
