Hey Guys,
I’m trying to setup a Frontend workflow using Middleman (because i love the asset pipeline) and the Karma testrunner voor JS testing.
In Karma you normally supply the folder where you keep your js and js spec files so that when one of them changes the test runner fires up. However, these files get compiled by Karma itself, so sprockets don’t work.
I found a way around it by referencing to the localhost:4567/*.js files in karma, which loads the compiled version. By doing this, is lose the functionality of Karma automatically running when some of my source files change.
Is there a way to reference to a prebuild/cached version that middleman keeps?