Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
63 lines (33 loc) · 848 Bytes

File metadata and controls

63 lines (33 loc) · 848 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

pxt-serve Manual Page

@description Serve a local web server for the editor

Serve a local web server for the editor

pxt serve

Options

localbuild

Force build native images with local tooling

browser <chrome|ie|firefox|safari>

Set the browser to launch on web server start

noBrowser

Start the server without launching a browser

noSerial

do not monitor serial devices

sourceMaps

Include source maps when building ts files

pkg

Serve packaged

cloud

forces build to happen in the cloud

just

just serve without building

hostname

hostname to run serve, default localhost

port

port to bind server, default 3232

wsport

port to bind websocket server, default 3233

Description

The local web server is meant for development purposes.

See Also

pxt tool

Morty Proxy This is a proxified and sanitized view of the page, visit original site.