fix(cli): suppress ExperimentalWarning in CLI and daemon spawn #185
Reference in New Issue
Block a user
Delete Branch "fix/suppress-experimental-warning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
两处抑制 Node.js ExperimentalWarning(SQLite experimental):
rslib.config.tsbanner 改为#!/usr/bin/env -S node --disable-warning=ExperimentalWarning,macOS 和现代 Linux 均支持env -Sstart.ts中 spawn 子进程时加上--disable-warning=ExperimentalWarning参数用户运行
nerveCLI 和启动 daemon 时不再看到 ExperimentalWarning 输出。