Skip to content

Commit

Permalink
feat: add watch flag for serve command
Browse files Browse the repository at this point in the history
  • Loading branch information
klaascuvelier committed Apr 13, 2023
1 parent 140384e commit 376c1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx-deno-deploy/src/executors/serve/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function serveExecutor(

const sourceRoot = projectConfiguration.sourceRoot;
const mainFile = target.options.mainFile;
const flags = target.options.flags ?? [];
const flags = (target.options.flags ?? []).concat(['--watch']);

return runProject(mainFile, sourceRoot, flags);
}

0 comments on commit 376c1b2

Please sign in to comment.