Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/renderer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand All @@ -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"
}
)
},
Expand Down
8 changes: 4 additions & 4 deletions src/renderer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -1707,16 +1707,16 @@ 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: (
<Button
isBusy={building}
variant={hasBuilt ? 'secondary' : 'primary'}
onClick={runBuildWithTerminal}
disabled={stepState.build.disabled}
>{hasBuilt ? 'First build complete' : 'Run first full build'}</Button>
>{hasBuilt ? 'Build complete' : 'Run full build'}</Button>
)
},
{
Expand Down
Loading