How to Start a Development Server in Hugo

Starting a development server in hugo

To start a development server in hugo type

hugo server

Above command will start the local development server on localhost port 1313. If port 1313 is already in use it will asign some random port. If you want to assign some specific port then give the port with -p flag.

hugo server -p 1314
Previous
Next