File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/vite-plugin-tempest/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ export default function tempest(): Plugin {
6262 / ^ h t t p s ? : \/ \/ .* \. t e s t ( : \d + ) ? $ / ,
6363 ] . filter ( Boolean ) ,
6464 } ,
65+ watch : userConfig . server ?. watch ?. ignored ?? [
66+ '**/.tempest/**'
67+ ] ,
6568 ...( serverConfig
6669 ? {
6770 host : userConfig . server ?. host ?? serverConfig . host ,
@@ -122,22 +125,19 @@ export default function tempest(): Plugin {
122125
123126 setTimeout ( ( ) => {
124127 server . config . logger . info (
125- `\n ${ colors . magenta ( `${ colors . bold ( 'TEMPEST' ) } ${ tempestVersion ( ) } ` ) } ${ colors . dim ( 'plugin' ) } ${
126- colors . bold ( `v${ pluginVersion ( ) } ` )
128+ `\n ${ colors . magenta ( `${ colors . bold ( 'TEMPEST' ) } ${ tempestVersion ( ) } ` ) } ${ colors . dim ( 'plugin' ) } ${ colors . bold ( `v${ pluginVersion ( ) } ` )
127129 } `,
128130 )
129131 server . config . logger . info ( '' )
130132
131133 if ( appUrl ) {
132134 server . config . logger . info (
133- ` ${ colors . green ( '➜' ) } ${ colors . bold ( 'URL' ) } : ${
134- colors . cyan ( appUrl . replace ( / : ( \d + ) / , ( _ , port ) => `:${ colors . bold ( port ) } ` ) )
135+ ` ${ colors . green ( '➜' ) } ${ colors . bold ( 'URL' ) } : ${ colors . cyan ( appUrl . replace ( / : ( \d + ) / , ( _ , port ) => `:${ colors . bold ( port ) } ` ) )
135136 } `,
136137 )
137138 } else {
138139 server . config . logger . info (
139- ` ${ colors . magenta ( '➜' ) } ${
140- colors . yellow ( `No ${ colors . bold ( 'BASE_URI' ) } specified in ${ colors . bold ( '.env' ) } ` )
140+ ` ${ colors . magenta ( '➜' ) } ${ colors . yellow ( `No ${ colors . bold ( 'BASE_URI' ) } specified in ${ colors . bold ( '.env' ) } ` )
141141 } .`,
142142 )
143143 }
You can’t perform that action at this time.
0 commit comments