javascript - Is there a simple html-webserver for mac? -


sometimes when front-end development, use mamp web-server don't have deal cors-errors. since upgraded mavericks mamp won't work more , pretty heavy. there simpler or more lightweight built in or installed?

depending on how simple it:

python 2:

python -m simplehttpserver 8000 

https://docs.python.org/2/library/simplehttpserver.html

python 3:

python3 -m http.server 

https://docs.python.org/3.3/library/http.server.html


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -