You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The preferred method is global install but can optionally be placed locally as w
24
24
25
25
There are a couple patterns for including `nodejs-dashboard` in your code. This module isn't designed for production use and should be limited to development environments.
26
26
27
-
#####Including via code
27
+
#### Including via code
28
28
29
29
From within a `dev.index.js` script or other dev entry point simply require the `nodejs-dashboard` module.
30
30
@@ -44,7 +44,7 @@ Next update your `package.json` to launch the dashboard:
44
44
...
45
45
```
46
46
47
-
#####Including via preload argument
47
+
#### Including via preload argument
48
48
49
49
This method utilizes Node's `-r` flag to introduce the `nodejs-dashboard` module. In this setup no code modifications are required. This is functionally equivalent to the above example.
50
50
@@ -58,7 +58,7 @@ Update your `package.json` with the new script:
58
58
...
59
59
```
60
60
61
-
#####Caveats
61
+
#### Caveats
62
62
63
63
If your app requires additional arguments you'll need to pass the `--` flag to your script. For example:
64
64
@@ -70,7 +70,7 @@ If your app requires additional arguments you'll need to pass the `--` flag to y
70
70
...
71
71
```
72
72
73
-
#####But I want to use something else to launch my app!
73
+
#### But I want to use something else to launch my app!
74
74
75
75
Most CLI interfaces provide a mechanism for launching other tools. If you're looking to use something like [nodemon](https://github.com/remy/nodemon) or [babel](https://github.com/babel/babel/tree/master/packages/babel-cli) checkout the exec options provided by the CLI.
0 commit comments