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

Support recompilation with file watching #371

Open
iand675 opened this issue Dec 25, 2015 · 4 comments · May be fixed by #839
Open

Support recompilation with file watching #371

iand675 opened this issue Dec 25, 2015 · 4 comments · May be fixed by #839

Comments

@iand675
Copy link

iand675 commented Dec 25, 2015

It would be really great to be able to tell shake to keep running, and rebuild any time file changes affect a needed output. I'd like to set up a website asset compilation pipeline that remakes everything upon saving a file, but to do so with shake at the moment I more or less have to duplicate the recompilation rules with another tool that calls shake.

@ndmitchell
Copy link
Owner

I think using the Live files feature you should be able to do something: http://neilmitchell.blogspot.co.uk/2015/04/cleaning-stale-files-with-shake.html. But I want it to be "easy", there's some request for that in #161.

@ndmitchell ndmitchell changed the title Consider supporting 'continuous recompilation' Support recompilation with file watching Apr 23, 2016
@ndmitchell
Copy link
Owner

Also requested by @rvion in #441.

@HaoZeke
Copy link

HaoZeke commented Nov 8, 2017

Is this still under consideration? For smaller projects, having to write inotify rules and then call shake is a deal breaker..

@chrismwendt
Copy link

I'm implementing file watching in #839

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 a pull request may close this issue.

4 participants