Skip to content

Commit

Permalink
docs: improve v2_dev instructions (#6893)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori authored Jul 20, 2023
1 parent 14bdd98 commit 24032ee
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 383 deletions.
9 changes: 7 additions & 2 deletions docs/file-conventions/remix-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,19 @@ The path to the browser build, relative to remix.config.js. Defaults to
The path to a directory Remix can use for caching things in development,
relative to `remix.config.js`. Defaults to `".cache"`.

## devServerBroadcastDelay
## devServerBroadcastDelay (deprecated)

The delay, in milliseconds, before the dev server broadcasts a reload event.
There is no delay by default.

## devServerPort
For `v2_dev`, the race conditions that necesitated this option have been eliminated.

## devServerPort (deprecated)

The port number to use for the dev websocket server. Defaults to 8002.

For `v2_dev`, use [`--port` / `v2_dev.port` option][port].

## ignoredRouteFiles

This is an array of globs (via [minimatch][minimatch]) that Remix will match to
Expand Down Expand Up @@ -312,3 +316,4 @@ There are a few conventions that Remix uses you should be aware of.
[tailwind-functions-and-directives]: https://tailwindcss.com/docs/functions-and-directives
[jspm]: https://github.com/jspm/jspm-core
[esbuild-plugins-node-modules-polyfill]: https://www.npmjs.com/package/esbuild-plugins-node-modules-polyfill
[port]: ../other-api/dev-v2#option-1
311 changes: 0 additions & 311 deletions docs/guides/dev-perf.md

This file was deleted.

Loading

0 comments on commit 24032ee

Please sign in to comment.