Sync should detect common erroneous invocation from well-known site subfolders and magically fix the path
Use case
You’re working in the .hugo folder of your site (or .dynamic, etc.) and then want to sync it. You forget you’re not at the site root and issue a site --sync-to=my.site
style command.
What should happen
Site.js should detect that you’re in the wrong folder, if the folder is a well-known one, and rewrite the path to the site root instead to stop you from deploying the wrong thing.
What actually happens
No such magic happens currently.