File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
packages/vite/src/node/server Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -951,10 +951,12 @@ export async function _createServer(
951
951
if ( initingServer ) return initingServer
952
952
953
953
initingServer = ( async function ( ) {
954
- // For backward compatibility, we call buildStart for the client
955
- // environment when initing the server. For other environments
956
- // buildStart will be called when the first request is transformed
957
- await environments . client . pluginContainer . buildStart ( )
954
+ if ( ! config . experimental . fullBundleMode ) {
955
+ // For backward compatibility, we call buildStart for the client
956
+ // environment when initing the server. For other environments
957
+ // buildStart will be called when the first request is transformed
958
+ await environments . client . pluginContainer . buildStart ( )
959
+ }
958
960
959
961
// ensure ws server started
960
962
if ( onListen || options . listen ) {
You can’t perform that action at this time.
0 commit comments