---
title: "@pitlane/vite-plugin-fetch-server"
description: ""
url: "https://pitlane.tools/package/vite-plugin-fetch-server/"
---

# @pitlane/vite-plugin-fetch-server

## Interfaces

- [FetchServerOptions](https://pitlane.tools/package/vite-plugin-fetch-server/interface/FetchServerOptions.md). Options for [fetchServer](https://pitlane.tools/package/vite-plugin-fetch-server/function/fetchServer.md).

## Functions

- [fetchServer](https://pitlane.tools/package/vite-plugin-fetch-server/function/fetchServer.md). Serves `vite dev` requests through the Fetch handler an application's server module exports. Every request Vite does not answer itself goes to the current `default.fetch` of `entry`, loaded through the environment's module runner on each request, so an edit applies to the next request. Errors go to Vite's development error page.
