Skip to content

Commit cbb9387

Browse files
committed
Add warning about editing sky files
1 parent 297ac09 commit cbb9387

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/stately-sky-getting-started.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ And that's it! You're now able to interact with your running actor in much the s
9797
- Only XState V5 machines are supported.
9898
- Delayed transitions are not yet supported, but will be soon.
9999
- The generated `sky.ts` files are meant to be added to source control.
100+
- You'll notice a warning in the `sky.ts` file that the file is generated. You should not manually edit these files. Any local changes will not reflect what's running in Sky.
100101
- Running `xstate sky` will only affect a file if it hasn't already been fetched. If you make changes to the machine in the Studio, you'll need to delete the generated file `yourFile.sky.ts` and run the command again. Alternatively, you can force the refetch by running `xstate sky --refetch`.

0 commit comments

Comments
 (0)