i am trying to integrate testem and want to watch the compiled JS from the middleman preview server. It doesnt seem to be compiling artifacts within the project so...
1) where does the preview server compile to / run from?
2) can i specify that location in config.rb?
The preview server doesn't do any compiling, it's all dynamic. You'd have to call middleman build in conjunction with some kind of file watcher. Not really a great solution, I know.
Testing would have to include running middleman build every time... That is a serious time consuming testing strategy. Essentially making testing is not supported with middleman. Bummer...
Certainly with on-save tests. There's no problem with more traditional commit-time continuous integration.
I think you could make link which will call Middleman::Cli::Build.new.build
I made it here. Based on MiddleManager.