Provide a watching build mode that writes to the disk in development
See https://github.com/facebookincubator/create-react-app/issues/1018#issuecomment-261792488 for a discussion which leads to the creation of this issue. I propose adding a new command (working name `build-dev`) which watches for changes and rebuild the bundle (effectively, given the current CRA implementation, it should execute `webpack --watch`), then writes it onto filesystem. The main motivation is an easier integration path with non-Node.js dev servers: such servers could just serve continuously updating bundle from the filesystem. The only desired configuration options is an `--output`, which could probably be specified via a command line argument: ``` % npm run build-dev -- --output ../static/www ``` Alternative command name suggestions: * `watch` * `build-watch`
Posted by andreypopp on Nov 20, 2016, 10:43 PM
Tags
Related issues
- 2026 - Microsoft Office 365
- [Ubuntu] `ubuntu-latest` label will use Ubuntu 26.04 in November 2026
- Gamut mapping
- [Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists"
- [Windows] ChatGPT 26.820.60940 fails with "invalid transport in mcp_servers.codex_app"; Beta 26.727.40816 works
- [BUG]: infinite loading of videos
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
github (SaaS)
2026 - Microsoft Office 365
[Ubuntu] `ubuntu-latest` label will use Ubuntu 26.04 in November 2026
Gamut mapping
[Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists"
[Windows] ChatGPT 26.820.60940 fails with "invalid transport in mcp_servers.codex_app"; Beta 26.727.40816 works
[BUG]: infinite loading of videos
Restore GPT-5.6 Sol’s 372k Codex context window, or provide an opt-in setting
Codex Desktop for macOS repeatedly triggers `syspolicyd` / `trustd` CPU and memory runaway
Provide a watching build mode that writes to the disk in development
See https://github.com/facebookincubator/create-react-app/issues/1018#issuecomment-261792488 for a discussion which leads to the creation of this issue. I propose adding a new command (working name `build-dev`) which watches for changes and rebuild the bundle (effectively, given the current CRA implementation, it should execute `webpack --watch`), then writes it onto filesystem. The main motivation is an easier integration path with non-Node.js dev servers: such servers could just serve continuously updating bundle from the filesystem. The only desired configuration options is an `--output`, which could probably be specified via a command line argument: ``` % npm run build-dev -- --output ../static/www ``` Alternative command name suggestions: * `watch` * `build-watch`
Comments (0)
No comments yet. Start the discussion.