Skip to content

Commit 1c5ffdd

Browse files
Kckoadamwathan
andauthored
Update just-in-time-mode.mdx (#937)
* Update just-in-time-mode.mdx Use TAILWIND_MODE on Windows, little headache. * Update just-in-time-mode.mdx * Update just-in-time-mode.mdx * Update just-in-time-mode.mdx Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
1 parent 46b634e commit 1c5ffdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/docs/just-in-time-mode.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,8 @@ For example, if you are using `postcss-cli`, set `TAILWIND_MODE=watch` in your d
513513
}
514514
```
515515

516+
_If you're using Windows, we recommend [cross-env](https://www.npmjs.com/package/cross-env) for setting environment variables in your scripts._
517+
516518
Note that setting `TAILWIND_MODE=watch` will start a long-running watch process in the background, so if you set that environment variable when trying to do a one-off build, it will look like the build is hanging. You should only set `TAILWIND_MODE=watch` when you are actually running a dev server/watch process.
517519

518520
### Styles rebuild in an infinite loop

0 commit comments

Comments
 (0)