Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ module.exports = (api, options) => {
portfinder.basePort = args.port || process.env.PORT || projectBSOptions.port || projectDevServerOptions.port || defaults.port
const proxy = projectBSOptions.proxy || projectDevServerOptions.proxy
const port = await portfinder.getPortPromise()
const serveStatic = projectBSOptions.serveStatic

const urls = prepareURLs(
protocol,
Expand Down Expand Up @@ -119,7 +120,8 @@ module.exports = (api, options) => {
middleware,
open: false,
port,
proxy
proxy,
serveStatic
});

;['SIGINT', 'SIGTERM'].forEach(signal => {
Expand Down