@prismicio/cli 0.0.3-beta.11 → 0.0.3-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/{cli-DhqlE1U5.js → cli-DDs8_xoz.js} +263 -508
- package/dist/{cli-DhqlE1U5.js.map → cli-DDs8_xoz.js.map} +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +1 -1
- package/dist/commands/sync.d.ts +1 -0
- package/dist/core/framework.d.ts +2 -3
- package/dist/core/watch.d.ts +7 -0
- package/dist/{index-Dbm9IdwU.js → index-_sNPxHKB.js} +2 -2
- package/dist/{index-Dbm9IdwU.js.map → index-_sNPxHKB.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{multipart-parser-Ddo0in9P.js → multipart-parser-BFd74IrK.js} +2 -2
- package/dist/{multipart-parser-Ddo0in9P.js.map → multipart-parser-BFd74IrK.js.map} +1 -1
- package/package.json +5 -6
- package/src/cli.ts +9 -1
- package/src/commands/sync.ts +23 -17
- package/src/core/framework.ts +2 -12
- package/src/core/watch.ts +181 -0
package/README.md
CHANGED
|
@@ -27,6 +27,12 @@ npx @prismicio/cli@latest init --repository <repository>
|
|
|
27
27
|
npx @prismicio/cli@latest sync
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
### Watch for changes
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx @prismicio/cli@latest sync --watch
|
|
34
|
+
```
|
|
35
|
+
|
|
30
36
|
## Documentation
|
|
31
37
|
|
|
32
38
|
For detailed documentation, visit the [official Prismic documentation](https://prismic.io/docs).
|