Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 557 Bytes

File metadata and controls

15 lines (11 loc) · 557 Bytes

CLI: Open Page Option (Multiple)

npm run webpack-dev-server -- --open-page example1.html,example2.html

Some applications may consist of multiple pages. During development it may be useful to directly open multiple pages at the same time. The pages to open may be specified as the argument to the open-page option.

What Should Happen

The script should open http://localhost:8080/example1.html and http://localhost:8080/example2.html in your default browser. You should see the text on the page itself change to read Success!.