mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 06:01:52 +08:00
Clarify frontend:dev
option. Closes #1169
This commit is contained in:
parent
91934d1f8e
commit
fff838d7c6
@ -150,7 +150,7 @@ func AddSubcommand(app *clir.Cli, w io.Writer) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// frontend:dev server command
|
// frontend:dev server command. *Not concurrent*
|
||||||
if projectConfig.DevCommand != "" {
|
if projectConfig.DevCommand != "" {
|
||||||
var devCommandWaitGroup sync.WaitGroup
|
var devCommandWaitGroup sync.WaitGroup
|
||||||
closer := runFrontendDevCommand(cwd, projectConfig.DevCommand, &devCommandWaitGroup)
|
closer := runFrontendDevCommand(cwd, projectConfig.DevCommand, &devCommandWaitGroup)
|
||||||
|
@ -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]",
|
"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: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: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]",
|
"wailsjsdir": "[Relative path to the directory that the auto-generated JS modules will be created]",
|
||||||
"version": "[Project config version]",
|
"version": "[Project config version]",
|
||||||
"outputfilename": "[The name of the binary]",
|
"outputfilename": "[The name of the binary]",
|
||||||
|
Loading…
Reference in New Issue
Block a user