@rollup-extras/plugin-serve 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -107,7 +107,7 @@ export default function (options = {}) {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
function internalOnListen(server) {
|
|
110
|
-
if (!onListen
|
|
110
|
+
if (!onListen?.( (server))) {
|
|
111
111
|
logger.finish(`listening on ${linkFromAddress(server.address(), !!https)}`, LogLevel.info);
|
|
112
112
|
}
|
|
113
113
|
}
|
package/package.json
CHANGED