Progress Indicator

Hey there, thanks for your response to my previous question, that approach worked well. I’ve got a mocha testing sidebar running that displays it’s results in a tree. It works well, but depending on the size of the test suite you’re running it can look unresponsive if it’s running a while. I’d like to display some kind of progress indicator (for now just working/not working, but someday I might build a json-stream reporter that would allow me to do %complete)

Also, I’m trying to run the same test via the terminal using something like:

/usr/bin/env osascript -e "tell application \"Terminal\"
    if not (exists window 1) then reopen
    do script \"cd /Users/khrome/the/project/path; mocha\"
end tell"

which works fine in the terminal, and seems to execute successfully via Process, but doesn’t seem to result in a notification. any clue what I might be doing wrong?