Skip to content

Commit 242f84c

Browse files
SutuSebastianyjose
authored andcommitted
chore: use --clear shorthand and update all references of start -c
1 parent af13612 commit 242f84c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/src/content/docs/getting-started/environment-vars-config.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ As mentioned earlier, `zod` is used to validate environment variables at runtime
104104
```bash
105105
❌ Invalid environment variables: { TEST: [ 'Required' ] }
106106
❌ Missing variables in .env.development file, Make sure all required variables are defined in the .env.development file.
107-
💡 Tip: If you recently updated the .env.development file and the error still persists, try restarting the server with the -cc flag to clear the cache.
107+
💡 Tip: If you recently updated the .env.development file and the error still persists, try restarting the server with the -c flag to clear the cache.
108108
```
109109
110110
:::note[Important]

docs/src/content/docs/guides/upgrading-deps.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pnpm test ## tests
3434
pnpm prebuild --clean ## clean ios and android build folders and regenerate them
3535
pnpm ios ## run ios build
3636
pnpm android ## run android build
37-
pnpm start --clear ## start the server
37+
pnpm start -c ## start the server
3838
```
3939

4040
:::info
@@ -81,7 +81,7 @@ pnpm test ## tests
8181
pnpm prebuild --clean ## clean ios and android build folders and regenerate them
8282
pnpm ios ## run ios build
8383
pnpm android ## run android build
84-
pnpm start --clear ## start the server
84+
pnpm start -c ## start the server
8585
```
8686

8787
Unfortunately, there is no magic trick here in case you have any issues while running your checks, Fixing those errors may require some manual effort. You can start by reading the error message and identifying any relevant packages that may be causing the issue. Check the changelog of those packages to see if there have been any recent updates that might have introduced breaking changes. This will help you to pinpoint the root cause of the issue and take the necessary steps to resolve it.
@@ -147,7 +147,7 @@ pnpm test ## tests
147147
pnpm prebuild --clean ## clean ios and Android build folders and regenerate them
148148
pnpm ios ## run ios build
149149
pnpm android ## run android build
150-
pnpm start --clear ## start the server
150+
pnpm start -c ## start the server
151151
```
152152

153153
If you are lucky enough and everything works as expected without any issues, you can now update the rest of the dependencies.

env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ if (parsed.success === false) {
138138
parsed.error.flatten().fieldErrors,
139139

140140
`\n❌ Missing variables in .env.${APP_ENV} file, Make sure all required variables are defined in the .env.${APP_ENV} file.`,
141-
`\n💡 Tip: If you recently updated the .env.${APP_ENV} file and the error still persists, try restarting the server with the -cc flag to clear the cache.`
141+
`\n💡 Tip: If you recently updated the .env.${APP_ENV} file and the error still persists, try restarting the server with the -c flag to clear the cache.`
142142
);
143143
throw new Error(
144144
'Invalid environment variables, Check terminal for more details '

0 commit comments

Comments
 (0)