File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ fast in-memory access to the webpack assets.
26
26
- [ Usage] ( #usage )
27
27
- [ With the CLI] ( #with-the-cli )
28
28
- [ With NPM Scripts] ( #with-npm-scripts )
29
+ - [ With the API] ( #with-the-api )
29
30
- [ The Result] ( #the-result )
30
31
- [ Browser Support] ( #browser-support )
31
32
- [ Support] ( #support )
@@ -201,6 +202,12 @@ npm run serve
201
202
NPM will automagically reference the binary in ` node_modules ` for you, and
202
203
execute the file or command.
203
204
205
+ ### With the API
206
+
207
+ While it's recommended to run webpack-dev-server via the CLI, you may also choose to start a server via the API.
208
+
209
+ See the related [ API documentation for ` webpack-dev-server ` ] ( https://webpack.js.org/api/webpack-dev-server/ ) .
210
+
204
211
### The Result
205
212
206
213
Either method will start a server instance and begin listening for connections
You can’t perform that action at this time.
0 commit comments