Comments (7)
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.
from houdini.
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.
from houdini.
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.
@AlecAivazis This approach seems to work well for me. WDYT? #97
from houdini.
PR was merged, thanks @AlecAivazis!
from houdini.
Related Issues (20)
- Use GraphQL field descriptions to generate JSDoc comments on `$result` types HOT 3
- Houdini fails to load data on initial query HOT 2
- Support the using keyword (explicit resource management)
- List insert mutation with a `@with` param doesn't update the list
- Houdini-svelte crashes the svelte LSP in vscode
- Memory leak in error path HOT 2
- [Cache] Automatically trigger refetches of modified values HOT 1
- List operations with hop to parent HOT 1
- loadAll, lazy initClient and iOS / WebKit bug resulting in Error 500 HOT 1
- Add configurable timeout for pullSchema
- Align Result and QueryResult HOT 4
- Circular dependencies in $houdini folder HOT 7
- List operations (append and update) from subscriptions does not work if the root type is a union HOT 2
- Doesn't work with vite 5.3 HOT 11
- Setting a custom node interface ID field to support Supabase's Graphql ? HOT 2
- QueryNameVariables type enforces runtime scalars to be present in the return value when they are not required HOT 1
- SvelteKit: Fragment stores become empty after hydration when using +page.server.ts server-side loading alongside +layout.gql HOT 5
- Unmarshalling lists of scalars not working HOT 2
- Could not find required variable function HOT 2
- Houdini vite plugin makes the svelte lsp crash HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from houdini.