@noego/app 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/dev.js +2 -0
package/package.json
CHANGED
package/src/commands/dev.js
CHANGED
|
@@ -762,6 +762,7 @@ async function runSplitServeWithWatch(context, tsxExecutable, tsxArgs, baseEnv,
|
|
|
762
762
|
*/
|
|
763
763
|
const setupBackendRestartPipeline = () => {
|
|
764
764
|
return backendRestartSubject.pipe(
|
|
765
|
+
debounceTime(100), // Batch rapid file saves (5 saves in 1 sec → 1 restart)
|
|
765
766
|
takeUntil(shutdownSubject),
|
|
766
767
|
// exhaustMap ignores new restart requests while one is in progress
|
|
767
768
|
// This prevents restart-during-restart chaos
|
|
@@ -798,6 +799,7 @@ async function runSplitServeWithWatch(context, tsxExecutable, tsxArgs, baseEnv,
|
|
|
798
799
|
*/
|
|
799
800
|
const setupFrontendRestartPipeline = () => {
|
|
800
801
|
return frontendRestartSubject.pipe(
|
|
802
|
+
debounceTime(100), // Batch rapid file saves (5 saves in 1 sec → 1 restart)
|
|
801
803
|
takeUntil(shutdownSubject),
|
|
802
804
|
// exhaustMap ignores new restart requests while one is in progress
|
|
803
805
|
exhaustMap((change) => {
|