I am trying to implement a httpServer to interact a browser Client, and the server instance with a specific port (say 3000) should be bind to each current active tabs.
To do that, I need to obtain every focus/unfocus event to a tab (the cursor blinking content).
I have read
is the one to catch an event unfocus, but cannot find one for focus.
My question is as follows:
is the atom.workspaceView proper object to catch an event for every tab, and what is the ‘focus’ event?