Skip to content

Commit

Permalink
fix(setup realtime): remove "exp" from suggested setup command (#10151)
Browse files Browse the repository at this point in the history
This should just be `yarn rw setup server-file` instead of `yarn rw exp
setup-server-file`.
  • Loading branch information
jtoar committed Mar 8, 2024
1 parent 5d9d709 commit 5074ab3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changesets/10151.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- fix(setup realtime): remove "exp" from suggested setup command (#10151) by @jtoar

The realtime setup command was still suggesting running the experimental server file setup command if the server file wasn't setup. This fixes it so that it points users to the stable setup command, `yarn rw setup server-file`, instead.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/experimental/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const printTaskEpilogue = (command, description, topicId) => {
export const isServerFileSetup = () => {
if (!serverFileExists()) {
throw new Error(
'RedwoodJS Realtime requires a serverful environment. Please run `yarn rw exp setup-server-file` first.'
'RedwoodJS Realtime requires a serverful environment. Please run `yarn rw setup server-file` first.'
)
}

Expand Down

0 comments on commit 5074ab3

Please sign in to comment.