1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/reflex.md
코드싸이 fd7d9f925b
common/r*: add Korean translation (#14644)
* common/r*: add Korean translation

* Update rtv.md

* Update pages.ko/common/rtv.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-11-07 10:35:14 +09:00

24 lines
676 B
Markdown

# reflex
> 특정 파일이 변경되면 디렉토리를 모니터링하고 명령을 다시 실행.
> 더 많은 정보: <https://github.com/cespare/reflex>.
- 파일이 변경되면 `make`로 다시 빌드:
`reflex make`
- `.go` 파일이 변경되면 Go 애플리케이션을 컴파일하고 실행:
`reflex --regex='{{\.go$}}' {{go run .}}`
- 변경 사항을 모니터링할 때 디렉토리를 무시:
`reflex --inverse-regex='{{^dir/}}' {{명령어}}`
- `reflex`가 시작될 때 명령어를 실행하고 파일이 변경되면 다시 시작:
`reflex --start-service=true {{명령어}}`
- 변경된 파일 이름을 대체하여 출력:
`reflex -- echo {}`