File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
packages/vite/src/node/server Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import {
3838 OutputOptions ,
3939 ModuleInfo ,
4040 NormalizedInputOptions ,
41- ChangeEvent ,
4241 PartialResolvedId ,
4342 ResolvedId ,
4443 PluginContext as RollupPluginContext ,
@@ -82,7 +81,6 @@ export interface PluginContainerOptions {
8281export interface PluginContainer {
8382 options : InputOptions
8483 buildStart ( options : InputOptions ) : Promise < void >
85- watchChange ( id : string , event ?: ChangeEvent ) : void
8684 resolveId (
8785 id : string ,
8886 importer ?: string ,
@@ -531,17 +529,6 @@ export async function createPluginContainer(
531529 }
532530 } ,
533531
534- watchChange ( id , event = 'update' ) {
535- const ctx = new Context ( )
536- if ( watchFiles . has ( id ) ) {
537- for ( const plugin of plugins ) {
538- if ( ! plugin . watchChange ) continue
539- ctx . _activePlugin = plugin
540- plugin . watchChange . call ( ctx as any , id , { event } )
541- }
542- }
543- } ,
544-
545532 async close ( ) {
546533 if ( closed ) return
547534 const ctx = new Context ( )
You can’t perform that action at this time.
0 commit comments