mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
chore(justfile): improve watch command
This commit is contained in:
parent
854870e296
commit
0ae4cd6630
2 changed files with 13 additions and 7 deletions
15
.ignore
15
.ignore
|
|
@ -1,6 +1,9 @@
|
|||
# For cargo-watch
|
||||
*/tasks/coverage/test262/**/*
|
||||
*/tasks/coverage/babel/**/*
|
||||
*/tasks/coverage/typescript/**/*
|
||||
*/target/**/*
|
||||
*/node_modules/**/*
|
||||
# For watchexec https://github.com/watchexec/watchexec/tree/main/crates/cli#features
|
||||
|
||||
target/**
|
||||
**/node_modules/**
|
||||
|
||||
tasks/coverage/test262/**
|
||||
tasks/coverage/babel/**
|
||||
tasks/coverage/typescript/**
|
||||
tasks/prettier_conformance/prettier/**
|
||||
|
|
|
|||
5
justfile
5
justfile
|
|
@ -43,7 +43,10 @@ install-hook:
|
|||
chmod +x .git/hooks/pre-commit
|
||||
|
||||
watch *args='':
|
||||
watchexec {{args}}
|
||||
watchexec --no-vcs-ignore {{args}}
|
||||
|
||||
watch-check:
|
||||
just watch "'cargo check; cargo clippy'"
|
||||
|
||||
# Run the example in `parser`, `formatter`, `linter`
|
||||
example tool *args='':
|
||||
|
|
|
|||
Loading…
Reference in a new issue