But I also like Sublime text. I have configured it to my please with fast editing commands and I would like to be able to do work in it as well. Simplest possible solution? Well, Apache HTTPD is always nice to have installed on your computer but it feels like using canon to kill flies. While there are many lightweight web-servers out there (e.g. mongoose) there is something a bit more convenient. Python to rescue!
Simply use built-in web server in python is something that gives almost live feeling that brackets provides. In python2 you would do something like:
And in python3:
Change port if you like and regardless, all your content will be available from the folder you started your server (in these examples at “localhost:8000/” ). I wouldn’t expect this embedded server to do all kinds of magic HTTPD can but for quick js/html/css editing – more than appropriate!