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

Specify input file #13

Open
genemars opened this issue Jul 25, 2018 · 2 comments
Open

Specify input file #13

genemars opened this issue Jul 25, 2018 · 2 comments

Comments

@genemars
Copy link

When using static-site in combination with a build system, that builds every time there's a change in the file system (watch), even if just a single file changed, static site will recompile the whole thing all over again.
So I was thinking of adding a new parameter like list (or whatever) where one can specify the file (or a list of files) to compile.
eg.

  -l, --list    Array of files to compile
@paulcpederson
Copy link
Owner

This would probably be useful.

We could also do a major version bump and tweak the names (move files => extensions). So it would be:

-x, --extensions       array of file extensions to search for
-f, --files                   explicit array of files to rebuild (useful for partial rebuilds

I think that would be more explicit.

@genemars
Copy link
Author

That would be super great =)

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

No branches or pull requests

2 participants