Replies: 4 comments 1 reply
-
That doesn't exist. Some dev tools use a "dashboard" approach to logging, which means we need to take over the entire console to live-update it like a dashboard. Running TypeScript in watch mode, for example, does this, so we need to be able to handle it. Have you seen this plugin? https://www.npmjs.com/package/@snowpack/plugin-run-script If you run those scripts through your Snowpack config instead, I'm +1 for offering a non-dashboard output style, similar to the |
Beta Was this translation helpful? Give feedback.
-
I'm aware of https://www.npmjs.com/package/@snowpack/plugin-run-script, we use it for SCSS compilation.
That's a great idea, that type of logging would work great for us |
Beta Was this translation helpful? Give feedback.
-
Sorry to follow-up in this. I realise it's a really unsexy feature, but I can't unleash snowpack unto our large dev team and our monorepo until there's some option like this because it'll just break their workflow too much. I hate asking open source projects for timelines, but do you have a rough idea of where this would show up on your priority list; or alternatively, what we'd need to do to whip up a PR to add this? |
Beta Was this translation helpful? Give feedback.
-
I was just about to start on this and then I saw that you added #1203 last week - thank you so much! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
we're working in a monorepo and we use yarn workspaces to have one command that launches several services, incl. snowpack. Unfortunately, snowpack in dev mode clears the terminal (on startup and whenever a file gets changed), which removes all the previous lines from the terminal, which are often really useful and interesting, since they came from other services. It would be great to have an option to tell snowpack in dev mode to just log additional lines, not remove/clear anything. Or does that already exist?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions