mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: Update DEVELOPER.md (#5768)
Fix instruction on how to compile in watch mode. `--` is needed to pass arguments to npm scripts
This commit is contained in:
parent
685d76b204
commit
b77f520800
@ -153,7 +153,7 @@ describe.only('your describe test', ....)
|
||||
|
||||
The `npm test` script works by deleting built TypeScript code, rebuilding the codebase, and then running tests. This can take a long time.
|
||||
|
||||
Instead, for a quicker feedback cycle, you can run `npm run compile --watch` to make a fresh build and instruct TypeScript to watch for changes and only compile what code you've changed.
|
||||
Instead, for a quicker feedback cycle, you can run `npm run compile -- --watch` to make a fresh build and instruct TypeScript to watch for changes and only compile what code you've changed.
|
||||
|
||||
Once TypeScript finishes compiling your changes, you can run `npm run test-fast` (instead of `test`), to trigger a test without causing a full recompile, which allows you to edit and check your changes much faster.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user