adobe/brackets — pull request #3141 by redmunds (2013-03-14 21:05:46+00:00)
Title: If live dev page leaves site, then terminate live dev

This is a fix for #2277.

Note that this bug says that element highlighting should stop when another url is entered, but it seems like we should allow other urls as long as user stays within site. Once site is left, then highlighting is stopped.

Also, it only says that highlighting should stop, but it seems like everything should stop, so the live dev connection is killed.

This feels kind of quick & dirty, so I am curious what I'm missing here. If this is a good enough starting point, then I'll add an integration test.