Skip to content

Commit 684ddf0

Browse files
committed
WIP
1 parent 61976f6 commit 684ddf0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Similar to the `group-*` variants we've supported for years for styling an eleme
327327
<span class="h-4 w-4 bg-gray-200 peer-checked:bg-blue-500">
328328
<!-- ... -->
329329
</span>
330-
<!-- ... -->
330+
<!-- ... -->
331331
</label>
332332
```
333333

@@ -515,6 +515,10 @@ For example, if you are using `postcss-cli`, set `TAILWIND_MODE=watch` in your d
515515

516516
_If you're using Windows, we recommend [cross-env](https://www.npmjs.com/package/cross-env) for setting environment variables in your scripts._
517517

518+
<a name="watch-mode-and-one-off-builds" style={{'scroll-margin-top': '6.875rem'}}></a>
519+
520+
### One-off builds are hanging
521+
518522
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.
519523

520524
### Styles rebuild in an infinite loop

0 commit comments

Comments
 (0)