Skip to content

Commit 698db35

Browse files
committed
Tooling: Add start-next make target
1 parent bb10607 commit 698db35

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ endif
9898
serve: build
9999
$(YARN) serve$(YARN_ACTION_SUFFIX)
100100

101+
.PHONY: serve-next
102+
serve-next: build-next
103+
$(YARN) serve$(YARN_ACTION_SUFFIX)
104+
101105
.PHONY: full
102106
full: clean build
103107

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"start": "docusaurus start",
88
"start-container": "docusaurus start -h 0.0.0.0",
99
"start-next": "BUILD_NEXT=true docusaurus start",
10+
"start-next-container": "BUILD_NEXT=true docusaurus start -h 0.0.0.0",
1011
"build": "DOCUSAURUS_IGNORE_SSG_WARNINGS=true docusaurus build",
1112
"build-next": "BUILD_NEXT=true yarn build",
1213
"swizzle": "docusaurus swizzle",

0 commit comments

Comments
 (0)