-
Notifications
You must be signed in to change notification settings - Fork 63
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
Merging forks that were never merged into the official pug-cli #93
base: master
Are you sure you want to change the base?
Conversation
@anduh/pug-cli - PUG 3 - 1.0.0
Merge contributions from @Anduh
…de recommends to use fs.watch instead
Merge contributions from anthony-tron/yaml support
Add contributions from funai/master to allow YAML frontmatter
Previous implementation used 'lstatSync' which returns stat info about link itself, not the file that it refers to. That behaviour didn't allow to use the tool in case of separate build (source and build dirs are separate, and sources linked back into build directory). As workaround there we could provide file content through stdin, but that approach has limitations: - you cannot process multiple files at once - you cannot use 'include' directives This commit changes the use of 'lstatSync' to 'statSync' which makes symlink files be processed as expected.
Did you change back so At least the documentation & examples still says There was a new issue opened on pugjs/pug discussion the situation: Pug-cli is unmaintained despite being mentioned in the readme #3444 |
Co-authored-by: Andreas J. <[email protected]>
@Anduh nops. It is still pug3 |
In case anyone in the official repository wants an easy merge...
If not, you can get all this by from tokilabs/pug3-cli by installing the npm package
@tokilabs/pug3-cli
Here's a list of the merged contributions:
-O | --obj
option (Closes Support hot reload for object files (JS, JSON, YAML) #89)extends
from frontmatterlayout