It is a simple, zero-configuration command-line http server. It is powerful enough for production usage, but it’s simple and hackable enough to be used for testing, local development, and learning.
Its super lightweight and it serves current directory with single command.
It is also lightweight but adds live reloading capability so that every time you hit save, your changes are immediately visible. This is a nice improvement over http-server.
It is a lightweight web server bundled with a lot of features like
- Robust routing
- Focus on high performance
- Super-high test coverage
- HTTP helpers (redirection, caching, etc)
- View system supporting 14+ template engines
- Content negotiation
- Executable for generating applications quickly
It is highly configurable. Unlike http-server and live-server, it’s not just for static files.
You can serve complex api via node using express as well.
The advantage of using express in dev server is you can use it in production as well.
This allow you to use common configuration and use it in all environments.
It is a web server for rapid prototyping.
- Integrates with browserify
- Includes hot reloading (reflect any change to your files without restarting server).
- Built in web server.
- It’s very fast to reflect changes because it doesn’t require generating any physical files. It serves your app from memory
- Supports hot reloading.
Keep multiple browsers & devices in sync when building websites.
- Dedicated IP for sharing work on LAN
It sets up dedicated IP address on your local network so that you or anyone that can hit the IP on your LAN can see your app.
- All interactions remain in sync.
- Great for cross-device testing
- Integrates with webpack and express
You can augment your existing web server with additional features using Browsersync.
Note: Except express, all the above web servers are only for development environment.