/pxt-sample

Custom Target for PXT

Primary LanguageTypeScript

Sample target for PXT

Sample target for Microsoft Programming Experience Toolkit - TRY IT LIVE

Build Status

Running locally

These instructions allow to run locally to modify the sample.

Setup

The following commands are a 1-time setup after synching the repo on your machine.

  • install the PXT command line
npm install -g pxt
  • install the dependencies
npm install

Running the local server

After you're done, simple run this command to open a local web server:

pxt serve

After making a change in the source, refresh the page in the browser.

Updating the tools

If you would like to pick up the latest PXT build, simply run

pxt update

More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost