fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
Apache License 2.0
2.58k stars 134 forks source link

[Bug] Hot-reload does not work for symlinks #4182

Open ammubhave opened 1 month ago

ammubhave commented 1 month ago

Describe the Bug

If there is a symlink that points to outside the fern directory, hot reloading does not work.

Information to Reproduce

CLI Version

0.30.7

Actual Behavior

No hot reload in docs dev mode

Expected Behavior

Changes to the symlinked file reloads the doc

dsinghvi commented 1 month ago

@ammubhave our watcher should be following symlinks. Do you mind uploading a zip where we can reproduce this issue?