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

Better way to modify files. #137

Closed
sindresorhus opened this issue Nov 23, 2012 · 4 comments
Closed

Better way to modify files. #137

sindresorhus opened this issue Nov 23, 2012 · 4 comments

Comments

@sindresorhus
Copy link
Member

The current way of modifying files are both slow and ugly. We load and write the file each time we want to do changes to it.

A better way would be to have file modification methods that loads the file at the setup of a generator and writes at the end by stacking up all the calls or something.

This is important since modifying files is a big part of a generator.

@addyosmani
Copy link
Member

I would like us to finally get around to exploring this in 1.1. If we're to be a serious scaffolding solution, we should make this process as clean as possible.

@jpdevries
Copy link

This sounds somewhat related to my inquiry about process multiple files as templates (like an entire directory)
#199

@SBoudrias
Copy link
Member

I was wondering if any high level modules offering good primitive for working on an in memory FS camed out recently?

I'm thinking about projects like Broccoli or AssetGraph.

@SBoudrias SBoudrias removed this from the Future milestone Aug 14, 2014
@SBoudrias
Copy link
Member

I'll close as I think this issue is now supersede by #658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants