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

Tracking issue: trigger rerun on non-.rs-file changes #31

Closed
LukasKalbertodt opened this issue Jan 30, 2016 · 6 comments
Closed

Tracking issue: trigger rerun on non-.rs-file changes #31

LukasKalbertodt opened this issue Jan 30, 2016 · 6 comments

Comments

@LukasKalbertodt
Copy link
Contributor

Changes of files, whose names do not end with .rs are currently ignored. Sometimes other files are expected to trigger a rerun of compilation. Two examples:

  • parser generators like lalrpop will generate .rs files from .lalrpop files that are in the source directory
  • sometimes arbitrary files are included via include_str! or something similar
@passcod
Copy link
Member

passcod commented Jan 30, 2016

Less edge-casey example: the Cargo.toml! Surely if that changes it could affect the whole project…

@Nemo157
Copy link

Nemo157 commented Feb 24, 2016

If rust-lang/cargo#1989 is implemented then that could take care of determining what files are important.

@passcod
Copy link
Member

passcod commented Feb 24, 2016

For my reference, the linked issue actually asks for a Cargo API that gives the list of paths that would trigger a recompile.

@passcod
Copy link
Member

passcod commented Dec 29, 2016

👍 Going to do this. Don't have an ETA, but it's on the todolist.

@JelteF
Copy link

JelteF commented Jan 28, 2017

Being able to watch .md files would also be really useful for automatically generating the docs.

@passcod passcod self-assigned this Mar 27, 2017
@passcod
Copy link
Member

passcod commented Mar 29, 2017

This is now done with the entirely new version 4.0.0!

@passcod passcod closed this as completed Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants