5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 00:59:34 +08:00

[v2] Fix build command for dev mode

This commit is contained in:
Lea Anthony 2021-10-28 19:24:05 +11:00
parent 77775d85ab
commit 6721e59277

View File

@ -534,10 +534,10 @@ func (b *BaseBuilder) BuildFrontend(outputLogger *clilogger.CLILogger) error {
}
outputLogger.Print("Compiling frontend: ")
cmd := strings.Split(b.projectData.BuildCommand, " ")
cmd := strings.Split(buildCommand, " ")
if verbose {
outputLogger.Println("")
outputLogger.Println(" Build command: '" + strings.Join(cmd, " ") + "'")
outputLogger.Println(" Build command: '" + buildCommand + "'")
}
stdout, stderr, err := shell.RunCommand(frontendDir, cmd[0], cmd[1:]...)
if verbose || err != nil {