Add an --original option to the proxy command
e.g., You are proxying the output of a Hugo development server. In your site source, you have dynamic routes (which, in the case of Hugo, you’ve placed in your
.dynamic folder in your static assets folder, so that the folder is copied to the root of your site on build) and you want them to be loaded and watched for changes. To do this, we need to know the original path of the files being served so we can load the dynamic paths and watch them for changes.
- Add --original option to proxy command that expects the path to the original web content being served by the server being proxied