Skip to content

Commit

Permalink
Switch from grunt transpile --watch to --live, see phetsims/chipper#1521
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 20, 2024
1 parent c9be9ad commit f55cee1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/phet-development-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ npm install
### Transpile TypeScript

* Change directory to the build tools: `cd chipper/`
* Run the TypeScript transpiler: `grunt transpile --watch` which starts a process that will auto-transpile
* Run the TypeScript transpiler: `grunt transpile --live` which starts a process that will auto-transpile
when files change.
* For more details about TypeScript, please
see [PhET's TypeScript Quick Start Guide](https://github.com/phetsims/phet-info/blob/main/doc/typescript-quick-start.md)
Expand Down Expand Up @@ -163,7 +163,7 @@ simulation using the template.
`grunt create-sim --repo=acceleration-lab --author="Jane Doe"`
6. In your simulation directory, run the transpiler watch process and specify your new repo as a target:
`cd ../acceleration-lab`
`grunt output-js-project --watch`
`grunt output-js-project --live`
7. Test the created simulation in the browser and make sure it launches. It should be a blank simulation. Write to the
[SceneryStack Discussions forum](https://github.com/orgs/scenerystack/discussions) if you run into problems.

Expand Down
2 changes: 1 addition & 1 deletion doc/typescript-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Congratulations! Now the repo is TypeScript-capable. You can commit these chang
### Transpile TypeScript

* Change directory to the build tools: `cd chipper/`
* Run the TypeScript transpiler: `grunt transpile --watch` which starts a process that will auto-transpile
* Run the TypeScript transpiler: `grunt transpile --live` which starts a process that will auto-transpile
when files change.

### Experiment with your new TypeScript repo
Expand Down

0 comments on commit f55cee1

Please sign in to comment.