Running a package copy per project


#1

Hey there,

I am not very experienced with Atom but users of my library asked for the Atom support. Since it works on project-by-project basis, can anyone point me to the direction of having a copy of the external server running per project folder?

So if you have 10 files open in Atom, from 3 different project locations, I want to run 3 separate servers. If one file is closed and that was the last file from that project, I would kill the server.

Any hints?


#2

A new package instance is activated for each Atom window opened, so if you start a server when activating your package, you will have one instance running for each window as long as they doesn’t listen to the same port.


#3

An interesting package might be omnisharp-atom.