From 3633d39f57cd921f57ee9b8808360c2eed6326ec Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 6 Jun 2016 10:14:56 -0700 Subject: [PATCH] updated readme.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0a1d099b..c2f96a3e 100644 --- a/README.md +++ b/README.md @@ -24,24 +24,23 @@ npm install ### Running -Run this command to open a local web server: +Run this command to open a local web server (add ``sudo`` for Mac/Linux shells) ``` pxt serve ``` If the local server opens in the wrong browser, make sure to copy the URL containing the local token. Otherwise, the editor will not be able to load the projects. -If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` flag: +If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` flag (add ``sudo`` for Mac/Linux shells): ``` pxt serve -yt ``` -To make sure you're running the latest tools, run +To make sure you're running the latest tools, run (add ``sudo`` for Mac/Linux shells) ``` -npm update +pxt update ``` - More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost ## Universal Windows App