-
Notifications
You must be signed in to change notification settings - Fork 339
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
Fix: Watch Pattern #115
Fix: Watch Pattern #115
Conversation
Just started reviewing :) |
Hey @gpedro, I tried changing a value in |
@zenorocha, it appears that changed, but we need a trigger to rebuild. |
@gpedro @zenorocha The link below show another implementation using path module https://github.com/braziljs/conf-boilerplate/blob/migration/docpad2metalsmith/metalsmith.js |
I noticed that too @gpedro, could you send a fix? |
path.join LGTM. i'm trying understand how to trigger build on watch |
well, the problem is caused by
the rebuilder is working, but the source path fucks my life. If I change the layout/default and save, it creates the layouts folder in the root directory. we may have to create an intermediate folder (.tmp) to separate what will not go to the out folder |
I see... well, we could try another solution such as metalsmith-simplewatch. That way we don't need to create another build step to filter what is generated and what isn't. |
Could you check it out @gpedro? |
@zenorocha: I will test this. |
@zenorocha, @obetomuniz |
I love gulp but introducing another build tool doesn't look good to me. |
Maybe a standalone solution like simple-recursive-watch may work. |
@zenorocha, |
wait, what? hahaha can you send your code so we can take a look? |
Tried several stuff here and still couldn't make it work. @obetomuniz, could you take a look? |
@zenorocha, I will create an issue at segmentio/metalsmith reporting that. ---edit |
Any solution to the watch? The metalsmith watch it is now in version 1.0.1. Or we will use gulp method? |
@diogomoretti i will try with the 1.0.1 |
The same error for me in your gif :/ |
why we choose metalsmith? cc @zenorocha |
Problem fixed. |
I chose metalsmith after evaluating all the other JavaScript-based static generators. |
No description provided.