Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing nodemon with legacywatch for workers #469

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CrypticC3s4r
Copy link
Contributor

With my Setup the tsx watcher does not run correctly.
Introducing nodemon with its legacy-watch fixes this problem

@MohamedBassem
Copy link
Collaborator

What kind of issues are you facing with tsx watch?

@CrypticC3s4r
Copy link
Contributor Author

CrypticC3s4r commented Oct 5, 2024

The normal tsx watch does not recognize the file changes somehow.
Using nodemon with its legacy-watch works for me. This might be an issue in sharing a volume from windows to docker.
The legacy-watch watches "manually" (polling) for file changes, rather than relying on the system events and messages.

As a result I do not need to restart all docker machines to get my changes compiled rather than the nodemon recognizes a change and compiles it "on the go"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants