Is it possible to use this with watch mode?
See original GitHub issueI’ve tried setting watch: true
and passing a -watch flag, neither seem to work.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Using watch mode - Rush.js
Using watch mode. Popular tools like Webpack and Jest provide a "watch mode" feature: After the task is completed, the tool enters a...
Read more >Watch and WatchOptions | webpack
Webpack can watch files and recompile whenever they change. This page explains how to enable this and a couple of tweaks you can...
Read more >Use Express Mode with transit cards, passes, and keys in ...
In the My Watch tab, tap Wallet & Apple Pay. Then tap Express Transit Card, select a transit or payment card, and authenticate...
Read more >Webpack add watch mode without compiling - Stack Overflow
When running webpack watch mode, it is not possible to run these scripts in sequence, as watch mode will block the second script...
Read more >[MVP] Watch mode · Issue #21 · evanw/esbuild - GitHub
Note that it is still possible to implement watch mode yourself using esbuild's incremental build API and a file watcher library of your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot again. I think you’re right, mostly.
In short, webpack HMR detects file change of the
./viewer.graphql
on our behalf. It’s a tested scenario. Also,babel --watch
detects your*.tsx
change, which emits our plugin or macro to regenerate too.A single process detecting file changes is enough. You don’t want to run both
webpack serve
andgraphql-let --watch
, do you. So currently, I thinkwebpack serve
is enough, or moreover, it should do all.No problem at all. Thank you for taking your time to try it out.
Let’s keep this open. I came up with scenarios wanting watch mode.
load()
macro,*.graphql
doesn’t emit Babel file change detection since Babel only watches*.ts(x)
. Please let me know the solution if you have.I appreciate it if you give me a
--watch
PR to solve them.