sync
nx run my-app:syncThe short form nx sync is a command of Nx itself, so this target needs nx run.
Runs astro sync, which writes types for content collections and modules to .astro/. The target is not cached, because .astro/ also holds data that Astro manages on its own.
Options
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
root |
string | none | Project directory. Nx knows it, so you rarely set this. |
config |
string | none | Path of the Astro config file. Without it Astro finds astro.config.* itself. |
verbose |
boolean | false |
Verbose output. |
additionalArgs |
array | none | More command-line arguments for Astro. |