Skip to content

Redirect automatically to the page/content you just saved. #4808

@bwklein

Description

@bwklein

Describe the problem

While editing site contents I often jump right into a particular file in routes, or jump around between files and make edits as I go.
There is a really nice feature in Hugo that will redirect automatically to the page/content you just saved.

https://gohugo.io/getting-started/usage/#redirect-automatically-to-the-page-you-just-saved

This is very useful as it takes me to view the page I am working on without navigating to that page through the website.

Describe the proposed solution

For Hugo you pass this as a configuration parameter in the config.toml file, or as a command line flag when running hugo server --navigateToChanged.

Something similar to this functionality would be nice, where I can enable this feature intentionally.

svelte-kit dev --navigateToChanged

Or, as a parameter in the svelte.config.js file ( https://kit.svelte.dev/docs/configuration ).

Alternatives considered

Manually navigating to the preview of whatever file I am working on at the time.

Importance

would make my life easier

Additional Information

I am coming to Svelte/SvelteKit from Hugo, and there are a lot of little nice to have features in Hugo that would improve the SvelteKit dev/editing experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature / enhancementNew feature or requestp2-nice-to-haveSvelteKit cannot be used by a small number of people, quality of life improvements, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions