karma-brackets icon indicating copy to clipboard operation
karma-brackets copied to clipboard

Great extension to brackets

Open johnhidey opened this issue 10 years ago • 3 comments

@artoale Just wanted to say great extension to brackets. Works like a champ.

I do have one question though and that is that if I have karma-cli installed globally, why do you need the full path to karma. Would love to just say karma in your karma settings dialog in brackets. This took me a bit to figure out and was thinking it should be easier than that if karma-cli is install globally.

Great job otherwise.

johnhidey avatar Jul 17 '14 01:07 johnhidey

Hi John! Thank you very much, very appreciated. I agree with you, it would be much easier to just use "karma" but unfortunately brackets node process runs without all the "env" variable you usually have in your terminal, including the $PATH variable (which tells where to find binaries, including karma). That's why I'm not able to provide an easier way to configure it :( Again, thank you very much for your feedback and don't hesitate to write me again if you have any question

Cheers Alessandro On Jul 17, 2014 2:01 AM, "John Hidey" [email protected] wrote:

@artoale https://github.com/artoale Just wanted to say great extension to brackets. Works like a champ.

I do have one question though and that is that if I have karma-cli installed globally, why do you need the full path to karma. Would love to just say karma in your karma settings dialog in brackets. This took me a bit to figure out and was thinking it should be easier than that if karma-cli is install globally.

Great job otherwise.

— Reply to this email directly or view it on GitHub https://github.com/artoale/karma-brackets/issues/12.

artoale avatar Jul 17 '14 01:07 artoale

Take a look at brackets shell. I use child_process in there and I have access to all the environment variables. When you run the shell, in the prompt, just type in node --version or better yet, type in karma start karma.conf.js and you SHOULD :8ball: see that the command executes without issue. Just a thought. I have another issue I'm going to submit to you. Again, great job.

johnhidey avatar Jul 17 '14 01:07 johnhidey

Uhm.. They might have changed the implementation recently then.... Good to know, will update soon :) On Jul 17, 2014 2:38 AM, "John Hidey" [email protected] wrote:

Take a look at brackets shell. I use child_process in there and I have access to all the environment variables. When you run the shell, in the prompt, just type in node --version or better yet, type in karma start karma.conf.js and you SHOULD [image: :8ball:] see that the command executes without issue. Just a thought. I have another issue I'm going to submit to you. Again, great job.

— Reply to this email directly or view it on GitHub https://github.com/artoale/karma-brackets/issues/12#issuecomment-49249614 .

artoale avatar Jul 17 '14 01:07 artoale