4 ms·
Mac comes with PHP, so you can do php -S localhost:3000 -t ./
by rimliu 7y ago
Mac comes with PHP, so you can do
php -S localhost:3000 -t ./
- maccard 7y agoAnd now you have: php -S localhost:3000 -t ./ on mac python -m http.server on some versions of linux, python -m SimpleHttpServer 8000 on others, and any of the above on windows. How is that easier than putting file://path/to/foo.html into my browser window, as someone getting started in web development?