Skip to content

Commit

Permalink
add caching flags to http-server, phetsims/chipper#866
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jun 12, 2020
1 parent 3e32157 commit fdfb557
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/phet-development-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ git clone https://github.com/phetsims/utterance-queue.git
      `npm install http-server -g`
b. Change into the phetsims directory (if you were not already there).
      `cd phetsims/`
c. Run the http server program
      `http-server`
c. Run the http server program (with caching turned off to help with iteration)
      `http-server -c-1`
5. Open a browser to the path for one of the simulations: http://localhost:8080/example-sim/example-sim_en.html
6. For building the simulations, install the grunt command line utility (may require sudo):
      `npm install -g grunt-cli`
Expand Down Expand Up @@ -166,8 +166,8 @@ If that yields an error like “Please try running this command again as root/Ad
      `sudo npm install http-server -g`
b. Change into the phetsims directory (if you were not already there).
      `cd phetsims/`
c. Run the http server program
      `http-server`
c. Run the http server program (with caching turned off to help with iteration)
      `http-server -c-1`
5. Open a browser to the path for one of the simulations: http://localhost:8080/example-sim/build/phet/example-sim_en_phet.html
6. For building the simulations, install the grunt command line utility (may require sudo):
      `npm install -g grunt-cli`
Expand Down

0 comments on commit fdfb557

Please sign in to comment.