Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ':sbt-compile-on-save-command' #4

Closed
Peluko opened this issue Jan 19, 2014 · 1 comment
Closed

Added ':sbt-compile-on-save-command' #4

Peluko opened this issue Jan 19, 2014 · 1 comment

Comments

@Peluko
Copy link

Peluko commented Jan 19, 2014

Hello.

I've been lately playing with Scala.js. Scala.js compiles to javascript by issuing the sbt command packageJS. So I've added an option to the project definition file that lets specify the command issued to inferior sbt when saving scala files. The option is called :sbt-compile-on-save-command:

https://github.com/Peluko/ensime-src/commit/f2503262a4779de63332fa6beeceba8005194a9f

In my current setup I use scala-js-workbench, so thanks to ensime's 'compile on save', whenever I edit a scala file on a Scala.js project, ensime automatically compiles the project and scala-js-workbech refresh the debugging browser.

@rajish
Copy link

rajish commented Jan 20, 2014

Merged. Just give me a day to forward it to the package.

@rajish rajish closed this as completed Jan 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants