Skip to content

Commit

Permalink
fix #686
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Nov 3, 2024
1 parent 55af118 commit 104a275
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
- `code_highlight` plugin: configuration type must be Partial [#679].
- Updated dependencies: `sass`, `terser`, `liquid`, `tailwindcss`, `std`, `preact`, `mdx`, `xml`, `satori`, `react` types, `unocss`, `magic-string`.
- esbuild plugin: Add support for `entryNames` option [#678].
- Enable `--port` argument to `lume cms` command [#686].

## [2.3.3] - 2024-10-07
### Added
Expand Down Expand Up @@ -577,6 +578,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
[#680]: https://github.com/lumeland/lume/issues/680
[#681]: https://github.com/lumeland/lume/issues/681
[#683]: https://github.com/lumeland/lume/issues/683
[#686]: https://github.com/lumeland/lume/issues/686

[Unreleased]: https://github.com/lumeland/lume/compare/v2.3.3...HEAD
[2.3.3]: https://github.com/lumeland/lume/compare/v2.3.2...v2.3.3
Expand Down
9 changes: 7 additions & 2 deletions cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,14 @@ const cms = new Command()
"The URL location of the site.",
{ default: "http://localhost" },
)
.option(
"-p, --port <port:number>",
"The port where the server runs.",
{ default: 3000 },
)
.action(async ({ config }) => {
const { runCms } = await import("./cli/cms.ts");
await runCms(config);
runCms(config);
});

const lume = new Command()
Expand Down Expand Up @@ -144,7 +149,7 @@ const lume = new Command()
)
.action(async ({ config, serve, watch }) => {
const { build } = await import("./cli/build.ts");
await build(config, serve, watch);
build(config, serve, watch);
})
.command("new <archetype> [arguments...]", create)
.command("upgrade", upgrade)
Expand Down

0 comments on commit 104a275

Please sign in to comment.