Giter Site home page Giter Site logo

Comments (7)

AlecAivazis avatar AlecAivazis commented on August 20, 2024

Hey @georgecrawford!

This is something I'm definitely interested in (both the smarter writing logic, and the watch behavior). Atm running generate replaces the environment file in a way that vite really doesn't like so i frequently have to restart the dev server while working on the example. It's a big thorn in my side haha.

I think it would be a great improvement to the generation logic to see if the existing file matches what would be written and only update the necessary files - i just haven't gotten to it yet. If you wanted to try to add it, I'd love to review a PR.

from houdini.

georgecrawford avatar georgecrawford commented on August 20, 2024

from houdini.

AlecAivazis avatar AlecAivazis commented on August 20, 2024

Yea, absolutely! Anything that's generated from the compiler comes from this directory. At the moment, there are three things that are written to disk: the artifacts for the documents found in a project, the type definitions, and the runtime.

Let me know if you need any other guidance. Probably worth mentioning you can always reach out to me on the Svelte discord if you prefer chatting there.

from houdini.

georgecrawford avatar georgecrawford commented on August 20, 2024

from houdini.

georgecrawford avatar georgecrawford commented on August 20, 2024

I've got houdini working from the local repo checkout - some combination of yarn and npm install, and npm link. So I'll take a look at only writing changed files now.

from houdini.

georgecrawford avatar georgecrawford commented on August 20, 2024

@AlecAivazis This approach seems to work well for me. WDYT? #97

from houdini.

georgecrawford avatar georgecrawford commented on August 20, 2024

PR was merged, thanks @AlecAivazis!

from houdini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.