pub serve
suggest changepub serve has been removed from the Dart SDK. It used to start a development server for a Dart web app: an HTTP server on localhost that served the app’s assets.
A historical session, started from the directory that contains pubspec.yaml, looked like this:
$ cd ~/dart/helloworld
$ pub serve
Serving helloworld on http://localhost:8080
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents