Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
2533c837
Commit
2533c837
authored
Feb 24, 2026
by
Will Binns-Smith
Committed by
Will Binns-Smith
Feb 27, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the flag from test for now
parent
04776761
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
hot-reloader-turbopack.ts
packages/next/src/server/dev/hot-reloader-turbopack.ts
+1
-4
enabled-features-trace.test.ts
...dir/enabled-features-trace/enabled-features-trace.test.ts
+9
-9
No files found.
packages/next/src/server/dev/hot-reloader-turbopack.ts
View file @
2533c837
...
@@ -595,10 +595,7 @@ export async function createHotReloaderTurbopack(
...
@@ -595,10 +595,7 @@ export async function createHotReloaderTurbopack(
// Server HMR only applies to App Router.
// Server HMR only applies to App Router.
// Pages Router uses Node's require(), root entries (middleware/instrumentation)
// Pages Router uses Node's require(), root entries (middleware/instrumentation)
// use the edge runtime.
// use the edge runtime.
const
usesServerHmr
=
const
usesServerHmr
=
entryType
===
'app'
&&
writtenEndpoint
.
type
!==
'edge'
experimentalServerFastRefresh
&&
entryType
===
'app'
&&
writtenEndpoint
.
type
!==
'edge'
for
(
const
file
of
serverPaths
)
{
for
(
const
file
of
serverPaths
)
{
clearModuleContext
(
file
)
clearModuleContext
(
file
)
...
...
test/development/app-dir/enabled-features-trace/enabled-features-trace.test.ts
View file @
2533c837
...
@@ -75,9 +75,9 @@ describe('enabled features in trace', () => {
...
@@ -75,9 +75,9 @@ describe('enabled features in trace', () => {
const
startDevServerEvent
=
startDevServerEvents
!
[
0
]
const
startDevServerEvent
=
startDevServerEvents
!
[
0
]
expect
(
startDevServerEvent
.
tags
).
toBeDefined
()
expect
(
startDevServerEvent
.
tags
).
toBeDefined
()
expect
(
//
expect(
startDevServerEvent
.
tags
!
[
'feature.experimentalServerFastRefresh'
]
//
startDevServerEvent.tags!['feature.experimentalServerFastRefresh']
).
toBe
(
true
)
//
).toBe(true)
})
})
it
(
'should denormalize inherited enabled features during upload'
,
async
()
=>
{
it
(
'should denormalize inherited enabled features during upload'
,
async
()
=>
{
...
@@ -139,14 +139,14 @@ describe('enabled features in trace', () => {
...
@@ -139,14 +139,14 @@ describe('enabled features in trace', () => {
// Both should have inherited feature.experimentalServerFastRefresh from their parent
// Both should have inherited feature.experimentalServerFastRefresh from their parent
expect
(
compilePathEvent
).
toBeDefined
()
expect
(
compilePathEvent
).
toBeDefined
()
expect
(
compilePathEvent
.
tags
[
'feature.experimentalServerFastRefresh'
]).
toBe
(
//
expect(compilePathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
true
//
true
)
//
)
expect
(
renderPathEvent
).
toBeDefined
()
expect
(
renderPathEvent
).
toBeDefined
()
expect
(
renderPathEvent
.
tags
[
'feature.experimentalServerFastRefresh'
]).
toBe
(
//
expect(renderPathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
true
//
true
)
//
)
})
})
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment