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:
parent
77775d85ab
commit
6721e59277
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user