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

Add nix-watch lock file #8

Merged
merged 8 commits into from
Aug 7, 2024
Merged

Add nix-watch lock file #8

merged 8 commits into from
Aug 7, 2024

Conversation

eureka-cpu
Copy link
Contributor

@eureka-cpu eureka-cpu commented Aug 6, 2024

Solves a critical problem in which the mod_time variable was being overlooked. Uses a lock file to check against for update times instead, which stores the path that changed and the modification time. Also adds a graceful shutdown which removes the PID_FILE, and removes the LOCK_FILE if DEBUG is false.

Tested on aarch64-darwin and x86_64-linux, both are working as expected.

Closes #4
Closes #7

@eureka-cpu eureka-cpu added bug Something isn't working enhancement New feature or request darwin Anything to do with Darwin systems labels Aug 6, 2024
@eureka-cpu eureka-cpu requested a review from sezna August 6, 2024 06:10
@eureka-cpu eureka-cpu self-assigned this Aug 6, 2024
@eureka-cpu eureka-cpu merged commit bd4d876 into master Aug 7, 2024
@eureka-cpu eureka-cpu deleted the eureka-cpu/4 branch August 7, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working darwin Anything to do with Darwin systems enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add graceful shutdown Fix MacOS/BSD specific commands
1 participant