Skip to content

Commit

Permalink
Add a "rushx start" script linking to instructions on debugging Rush.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Jan 3, 2022
1 parent 6370e6f commit de878f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/rush/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
#--------------------------------------------

/lib/start-dev.*
/lib/start-dev-docs.*

# (Add your project-specific overrides here)
3 changes: 2 additions & 1 deletion apps/rush/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"engineStrict": true,
"homepage": "https://rushjs.io",
"scripts": {
"build": "heft test --clean"
"build": "heft test --clean",
"start": "node lib/start-dev-docs.js"
},
"bin": {
"rush": "./bin/rush",
Expand Down
6 changes: 6 additions & 0 deletions apps/rush/src/start-dev-docs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Colors, ConsoleTerminalProvider, Terminal } from '@rushstack/node-core-library';

const terminal: Terminal = new Terminal(new ConsoleTerminalProvider());

terminal.writeLine('For instructions on debugging Rush, please see this documentation:');
terminal.writeLine(Colors.bold('https://rushjs.io/pages/contributing/debugging/'));

0 comments on commit de878f4

Please sign in to comment.