Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Can't get watch to work #8

Closed
pchoi opened this Issue · 1 comment

2 participants

@pchoi

Hey,

We're building our own packaging system based on muffin and it's been working out great for us. Love the flexibility of it.

But now, we're trying to pass the watch flag '-w' from the Cakefile to the muffin and while it seems to invoke the watching successfully, nothing happens when a watched fie is modified.

Can you give me a simple example of how to get it work?

Thanks,
Pete

@saggi18dec

I am facing the same issue. Actually, in muffin.js, compileTree() function, a call is made to snockets.getConcatenation() which creates the dep-graph and an cached array (concatCache) of contents for file.
when a watch is applied to muffin, and any file changes, the the dep-graph is checked, and if the dep-graph has not changed then the contents in cached array(concatCache) are used for compiling the tree, which results in no changes to the final output.

@airhorns airhorns closed this in #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.