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

fix: tsx watch flag unwanted reload #523

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

lorenzomigliorero
Copy link
Contributor

@lorenzomigliorero lorenzomigliorero commented Oct 3, 2024

It sounds like we’re running into an issue with tsx --watch flag causing unnecessary reloads, particularly when working with the apps/dokploy/server folder.

The tsx --watch flag is commonly used to watch TypeScript files and automatically recompile/restart the application when files are changed. However, in our case, since Next.js is already handling the auto-reload for the server, it might be redundant and leading to performance issues.

For other cases, a manual restart is enough.

@lorenzomigliorero lorenzomigliorero changed the title fix: remove watch flag fix: tsx watch flag unwanted reload Oct 3, 2024
@Siumauricio Siumauricio merged commit 5ed96fb into Dokploy:canary Oct 3, 2024
3 checks passed
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