fx serve-updates

start the update server and attach to a running fuchsia device

usage: fx serve-updates [-v] [-l host[:port]] [--no-auto-config]
  -l host:port       host and port that "pm serve" will listen on
  --no-auto-config   do not configure this host as a package server on the device
  -v                 verbose mode, shows info and debug messages from "pm"
  -C|--clean         clean the package repository first. This flag is only
                     valid if the incremental package publishing is enabled.

This command supports incremental package publishing. If enabled, it will
auto-publish packages as they are created or modified.

To enable incremental package serving, run "fx --enable=incremental serve-updates ..."

serve-updates source code