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 @@ -979,10 +979,12 @@ export async function _createServer(
979
979
if ( initingServer ) return initingServer
980
980
981
981
initingServer = ( async function ( ) {
982
- // For backward compatibility, we call buildStart for the client
983
- // environment when initing the server. For other environments
984
- // buildStart will be called when the first request is transformed
985
- await environments . client . pluginContainer . buildStart ( )
982
+ if ( ! config . experimental . fullBundleMode ) {
983
+ // For backward compatibility, we call buildStart for the client
984
+ // environment when initing the server. For other environments
985
+ // buildStart will be called when the first request is transformed
986
+ await environments . client . pluginContainer . buildStart ( )
987
+ }
986
988
987
989
// ensure ws server started
988
990
if ( onListen || options . listen ) {
You can’t perform that action at this time.
0 commit comments