Skip to content

Commit

Permalink
[External] [docs] entr and pre commit issue (#39652)
Browse files Browse the repository at this point in the history
[External] [docs] `entr` and pre commit issue

Warn about the use of `entr` and `pre-commit`.

ORIGINAL_AUTHOR=artemiogr97
<[email protected]>
PUBLIC_PR_LINK=modular#2531

Co-authored-by: artemiogr97 <[email protected]>
Closes modular#2531
MODULAR_ORIG_COMMIT_REV_ID: b8239da7fd2e1b1bb48d5b7848ee246f73eeca8e
  • Loading branch information
modularbot and artemiogr97 committed Jun 7, 2024
1 parent d59a04e commit ec5a9fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stdlib/docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ ls **/*.mojo | entr sh -c "./scripts/build-stdlib.sh && mojo main.mojo"
Now, every time you save a Mojo file, it packages the standard library and
runs `main.mojo`.

**Note**: you should stop `entr` while doing commits, otherwise you could have
some issues, this is because some pre-commit hooks use mojo scripts
and will try to load the standard library while it is being compiled by `entr`.

### Running tests

If you haven't already, follow the steps at:
Expand Down

0 comments on commit ec5a9fe

Please sign in to comment.