/sbteo

Compile server for sbt

Primary LanguageScalaApache License 2.0Apache-2.0

sbteo

Build Status

What?

A compile server hosted in sbt for external tools

Why?

We were implementing scala support in the cloud9 IDE, and wanted a server component to handle autocomplete and compile messages.

How?

Add this plug-in to your global or project plugins.sbt

After running sbt (use the latest launcher):

sbteo:start

to stop, either kill the sbt session, or

sbteo:stop

This will make a websocket server available on locahost:8888/sbt/. If you want to bind somewhere else, then

SBTEO_ENDPOINT=<iface>:<port> sbt

or

sbt -Dsbteo.endpoint=<iface>:<port>

<port> will default to 8888, <iface> will default to localhost

Credits

Previous/Related work