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