Skip to main content
Version: 5.x

ko dev

start a development server that provides live reloading. You can change development server default behaviors via devServer values in ko.config.js, or use cli arguments.

Optional arguments:

  • -p, --port <port>: server start on which port, a number value is accepted
  • --host <host>: server start on which host, you can specify an ip like 0.0.0.0
  • -t, --ts: support typescript or not, ko support typescript by default
  • -h --hash: output filename with it's contenthash
  • -a,--analyzer: show output files with an interactive zoomable treemap in http://127.0.0.1:8888