We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89453db commit 87a1411Copy full SHA for 87a1411
.changeset/violet-poets-jam.md
@@ -0,0 +1,5 @@
1
+---
2
+'@gitbook/cli': minor
3
4
+
5
+rebuild in dev mode in the watcher
packages/cli/src/dev.ts
@@ -85,9 +85,9 @@ export async function startIntegrationsDevServer(space: string | undefined) {
85
})
86
.on('all', async () => {
87
const p1 = performance.now();
88
- console.log('Detected changes, rebuilding...🛠');
+ console.log('🛠 Detected changes, rebuilding...');
89
try {
90
- await buildScriptFromManifest(manifestSpecPath);
+ await buildScriptFromManifest(manifestSpecPath, { mode: 'development' });
91
console.log(`📦 Rebuilt in ${((performance.now() - p1) / 1000).toFixed(2)}s`);
92
} catch (error) {
93
console.log(error);
0 commit comments