Comments (4)
I'd like to have a parameter that lets you choose whether the custom output target can be called at every change or only during the "final" build.
Can you elaborate on this? When you say "at every change" are you talking about having the output target run during watch mode? Because this works for me given your example project. I guess, could you explain in detail what the current behavior is and your expected/desired behavior?
from stencil.
Yes when a mean at every change, i mean in dev mode.
Like i said, when i add or remove a @config
in JSdoc, the component-config.d.ts
is not updated (not the components.d.ts that stencil provide),
I add some console.log in my component-config.target.ts but there only called on final build, not in dev mode.
from stencil.
Gotcha, what I can observe is that the src/components.d.ts
is changing after every save:
However it seems that VSCode is not picking this up:
I will ingest this into our backlog for the team to take a closer look at. Any contributions are welcome!
from stencil.
After running a few tests, I realized that the custom output target is never called when the --dev
flag is set in the CLI, when it is cleared, the output target is called on first compilation, and on rebuild.
Based on this result, I think the bug is related to the dev flag.
from stencil.
Related Issues (20)
- bug: cloneNodeFix not working with experimentalSlotFixes flag HOT 4
- Nested Slots render children components in the wrong order if children components are added dynamically at run time. HOT 5
- bug: jeep-sqlite broken by version 4.12.2 HOT 5
- [Tracking] WebdriverIO Migration HOT 2
- bug: `emulate.userAgent` is not used in E2E Screenshot tests HOT 1
- feat: create a 'web-types' doc output target HOT 1
- feat: formAssociated element should treat boolean "disabled" Prop differently HOT 5
- bug: stencil build throws errors from node_modules HOT 4
- bug: hydrate app | unhandledRejection TypeError: Cannot read properties of undefined (reading 'nextTick') HOT 5
- bug: stencil build causes copyfile error and creates extra directory in monorepo HOT 2
- bug: Unable to run Angular test app outside monorepo and import Stencil component successfully HOT 11
- bug: Stencil Components: Nested Slots insert new children before last child if children components are added dynamically at run time. HOT 2
- bug: Nonce not being added to styles HOT 1
- bug: Boolean property not removing corresponding attribute when set to false programmatically HOT 5
- bug: v4.12.2 breaks E2E tests HOT 11
- feat: node.eventListeners/getEventListeners(node) alternative to conditionally render internal elements, when an @Event has listeners. HOT 2
- bug: `emulate.viewport` crops the screenshot in E2E Screenshot tests HOT 1
- bug: Copy task runs in parallel to build tasks creating a race condition HOT 9
- bug: instance is undefined when consuming dist-custom-elements bundle HOT 4
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 stencil.