Skip to content

Copy the config.yml of a source template project #5065

@noncom

Description

@noncom

Is your feature request related to a problem? Please describe.

When creating an application from a source template, for example:

wails3 init -n "Your Project Name" -t https://github.com/JinGongX/SuiDemo

It would make sense to copy the config.yml of the template over to the created app rather than creating a default one.

As an example, in this particular case the template sets up Vite to hot-reload the frontend part, and the template config reflects that by excluding the JS/TS file types from watching. However, after creating the app from the template that property is lost, and the project starts rebuilding for every JS/TS change which defeats its purpose. The same would probably apply to all the other settings since they were configured in the source template because they were needed, and not the default.

Describe the solution you'd like

Copy over the config.yml from a source template to the new project created from it.

Describe alternatives you've considered

I copied it manually. But the problem was that as I am quite new to Wails the behavior of the system when it rebuilds the executable binary on every change, with zero difference in the resulting binary, was confusing and I had to ask for clarifications in Discord.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions