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 watch command #38

Closed
noteflakes opened this issue Dec 25, 2016 · 0 comments
Closed

Add watch command #38

noteflakes opened this issue Dec 25, 2016 · 0 comments
Milestone

Comments

@noteflakes
Copy link
Collaborator

The watch command is used for watching files or directories and automatically running lilypond whenever those files change. The watch should accept one or more directories or files to watch.

The watch command should also accept a --target option to signify the file to compile whenever any file changes. This would be useful when the user wishes to watch include files but to only compile a specific file.

$ lyp watch bwv78
17:38:13 Watching bwv78...
17:40:22 bwv78/oboe.ly changed, recompiling
...
17:45:51 bwv78/violino1.ly changed, recompiling
...
^C
# watch multiple directories, recompile specific file
$ lyp watch bwv78 house-style stdlib -t bwv78/score.ly
...
@noteflakes noteflakes added this to the v1.3.0 milestone Dec 25, 2016
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

No branches or pull requests

1 participant