When doing AngularJS development, I have an open terminal window with Karma running (watching file changes). When coding I go back and forth between Sublime Text 2 and the terminal window showing Karma test results.
I find this pretty annoying and I just saw at egghead.io
that this guy has Karma results integrated into WebStorm.
Is there anything similar for Sublime Text? I couldn't find any packages related to Karma.
Go to "Tools | Build System | New Build System" and drop in the following code:
{
"path": "/usr/local/share/npm/bin:/usr/local/bin:$PATH",
"working_dir": "${project_path:${folder}}",
"cmd": ["karma", "start"]
}
Can be found here:.
Also this is the best primer for setting up custom text build systems in sublime text that i've seen.
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With