diff --git a/src/renderer/index.js b/src/renderer/index.js index c240dfd..0d5e359 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -54756,7 +54756,7 @@ Try "help" for the list of supported commands. const toggleDevServer = async () => { if (!running) { if (!skipInit && !hasBuilt) { - alert("Please complete the first full build before starting the dev server. You can also skip the wizard."); + alert("Please complete the full build before starting the dev server. You can also skip the wizard."); return; } const state = terminalStateRef.current; @@ -55109,8 +55109,8 @@ Saved your changes to ${res.filePath} and reset the working tree. }, { key: "build", - label: "Run first full build", - description: "Compile WordPress Core once to generate the initial dist files.", + label: "Run full build", + description: "Compile WordPress Core to generate the dist files. Later updates rebuild automatically.", ...stepState.build, action: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)( button_default, @@ -55119,7 +55119,7 @@ Saved your changes to ${res.filePath} and reset the working tree. variant: hasBuilt ? "secondary" : "primary", onClick: runBuildWithTerminal, disabled: stepState.build.disabled, - children: hasBuilt ? "First build complete" : "Run first full build" + children: hasBuilt ? "Build complete" : "Run full build" } ) }, diff --git a/src/renderer/index.jsx b/src/renderer/index.jsx index 6d69485..350e4b4 100644 --- a/src/renderer/index.jsx +++ b/src/renderer/index.jsx @@ -1328,7 +1328,7 @@ function SiteRow({ sitePath, initialized, createdAt, label, onInitialized, onSit const toggleDevServer = async ()=>{ if (!running) { // eslint-disable-next-line no-alert -- see the note above onRename. - if (!skipInit && !hasBuilt) { alert('Please complete the first full build before starting the dev server. You can also skip the wizard.'); return; } + if (!skipInit && !hasBuilt) { alert('Please complete the full build before starting the dev server. You can also skip the wizard.'); return; } const state = terminalStateRef.current; if (state.running) { writeToTerminal('A command is already running. Press Ctrl+C to stop it.\n'); @@ -1707,8 +1707,8 @@ function SiteRow({ sitePath, initialized, createdAt, label, onInitialized, onSit }, { key: 'build', - label: 'Run first full build', - description: 'Compile WordPress Core once to generate the initial dist files.', + label: 'Run full build', + description: 'Compile WordPress Core to generate the dist files. Later updates rebuild automatically.', ...stepState.build, action: ( + >{hasBuilt ? 'Build complete' : 'Run full build'} ) }, {