We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9b3365 commit 9baf979Copy full SHA for 9baf979
packages/runtime/src/templates/edge/next-dev.js
@@ -22,11 +22,10 @@ const exists = async (relativePath) => {
22
let idx = 0
23
24
const handler = async (req, context) => {
25
- // Uncomment when CLI update lands
26
- // if (!Deno.env.get('NETLIFY_DEV')) {
27
- // // Only run in dev
28
- // return
29
- // }
+ if (!Deno.env.get('NETLIFY_DEV')) {
+ // Only run in dev
+ return
+ }
30
31
let middleware
32
// Dynamic imports and FS operations aren't allowed when deployed,
0 commit comments