Skip to content

Commit

Permalink
debug windows
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmenPopoviciu committed Jul 1, 2024
1 parent 34b2926 commit eeacb74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/wrangler/src/pages/dev.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { execSync, spawn } from "node:child_process";
import { existsSync, lstatSync, readFileSync } from "node:fs";
import { join, resolve } from "node:path";
import { join, resolve, normalize } from "node:path";
import { watch } from "chokidar";
import * as esbuild from "esbuild";
import { unstable_dev } from "../api";
Expand Down Expand Up @@ -523,7 +523,8 @@ export const Handler = async (args: PagesDevArguments) => {
});

for (const dep in bundle.dependencies) {
const resolvedDep = resolve(functionsDirectory, dep);
const resolvedDep = normalize(resolve(functionsDirectory, dep));

/*
* EXCLUDE:
* - the "/functions" directory because we're already watching it
Expand Down

0 comments on commit eeacb74

Please sign in to comment.