Skip to content

Commit

Permalink
copy persisted queries to server sub-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-funk committed Jul 19, 2023
1 parent 7cc508b commit 8e8c2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/scripts/compileRelay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spawn.sync("relay-compiler", args, { stdio: "inherit" });
if (persist) {
if (fs.existsSync(persist)) {
// Create the new filename.
const generated = "./src/core/server/graph/persisted/__generated__";
const generated = "../server/src/core/server/graph/persisted/__generated__";

// Create the generated directory if it doesn't exist.
fs.ensureDirSync(generated);
Expand Down

0 comments on commit 8e8c2b0

Please sign in to comment.