@evjs/cli 0.0.11 → 0.0.12
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53,7 +53,7 @@ export async function dev(userConfig, options) {
|
|
|
53
53
|
`const bundle = require(${JSON.stringify(serverBundlePath)});`,
|
|
54
54
|
`const app = bundle.app || bundle.createApp({ endpoint: ${JSON.stringify(config.server.endpoint)} });`,
|
|
55
55
|
`const { serve } = require("@evjs/server/node");`,
|
|
56
|
-
`serve(app, { port: ${serverPort}, https: ${
|
|
56
|
+
`serve(app, { port: ${serverPort}, https: ${JSON.stringify(config.server.dev.https)} });`,
|
|
57
57
|
].join("\n"));
|
|
58
58
|
// node gets --watch flags; other runtimes use their own args as-is
|
|
59
59
|
const backendArgs = backend === "node"
|