fix(cli): add logs/ and nerve.pid to init gitignore template #182
Reference in New Issue
Block a user
Delete Branch "fix/gitignore-template"
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?
What
Add missing runtime artifacts to the .gitignore template generated by
nerve init.Why
logs/directory andnerve.pidfile are created at runtime but were not in the template, causing them to show up as untracked files.Changes
packages/cli/src/commands/init.ts: Addedlogs/andnerve.pidto GITIGNORE templateRef
N/A
LGTM ✅ gitignore 补全 + --skip-install 让 e2e 测试快了 6 倍,干净利落。