Commit 95eb334
committed
fix(learn): Correct unclear example of passing arguments with the task runner
Fix the example used in the 'Passing arguments to the command' section of the
'Run Node.js scripts from the command line' as it is not referencing the right
package.json script.
Also, change the script used in the example ('node app.js --watch') as it can
confuse the reader into thinking it's a way to enable the Node.js watch option
even though it's just passing an '--watch' argument to the app.js script.1 parent db65366 commit 95eb334
File tree
1 file changed
+6
-5
lines changed- apps/site/pages/en/learn/command-line
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
0 commit comments