IPC in Atom Package


#1

I’ am after the functionality that you get from ipc in atom-shell but in an Atom Package.

I’ve looked at Emitter but I cant see an easy way of using it to send a message from a view to a module and then back again.

My use is in https://github.com/Arcath/jekyll-atom where I want a a class/instance in the background that is monitoring/hosting a child process. The toolbar and Management views would then call jekyll:start-server to start the server and listen for events on jekyll:write-to-console that would contain a string to write out.


Ipc between atom windows?
#2

If you don’t find a better solution I have a home-made one I’ve been using. It uses stdio and json to pass objects. It also allows console.log messages to get through.