Clarify frontend:dev option. Closes #1169

This commit is contained in:
Lea Anthony
2022-02-22 19:16:19 +11:00
parent 91934d1f8e
commit fff838d7c6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ func AddSubcommand(app *clir.Cli, w io.Writer) error {
return err
}
// frontend:dev server command
// frontend:dev server command. *Not concurrent*
if projectConfig.DevCommand != "" {
var devCommandWaitGroup sync.WaitGroup
closer := runFrontendDevCommand(cwd, projectConfig.DevCommand, &devCommandWaitGroup)
+1 -1
View File
@@ -13,7 +13,7 @@ The project config resides in the `wails.json` file in the project directory. Th
"reloaddirs": "[Additional directories to trigger reloads (comma separated), this is only used for some advanced asset configurations]",
"frontend:install": "[The command to install node dependencies, run in the frontend directory - often `npm install`]",
"frontend:build": "[The command to build the assets, run in the frontend directory - often `npm run build`]",
"frontend:dev": "[This command is run in a separate process on `wails dev`. Useful for 3rd party watchers]",
"frontend:dev": "[This command is the dev equivalent of frontend:build]",
"wailsjsdir": "[Relative path to the directory that the auto-generated JS modules will be created]",
"version": "[Project config version]",
"outputfilename": "[The name of the binary]",