Default to watching dependencing in development?
See original GitHub issueAssume a monorepo setup, where many addons are linked by default:
- a person launches an app via
ember s
- but then decides they want to edit an addon (and rebuild it //
rollup -c --watch
) - when the v2 addon re-outputs its artifacts, the host app should detect that
Reasoning:
- until we get to a dev-time environment as efficient as Vite, the initial startup time for apps can be costly (though, I’ve yet to experience what a large app is like with all v2 addons — I’ll know more on this in the coming months though)
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Viewing and debugging dependencies
Every Gradle project provides the task dependencies to render the so-called dependency report from the command line. By default the dependency report renders ......
Read more >Xcode 13.3 cycle in dependencies between targets
So using latest Xcode 13.3 on an Apple Silicon MacBook I get a compile error the 2nd time and every time there after...
Read more >Developing with Spring Boot
1. Build Systems. 1.1. Dependency Management · 2. Structuring Your Code. 2.1. Using the “default” Package · 3. Configuration Classes. 3.1. · 4....
Read more >Dependency injection in Android
Dependency injection (DI) is a technique widely used in programming and well suited to Android development. By following the principles of ...
Read more >Viewing and updating Dependabot alerts
If GitHub discovers insecure dependencies in your project, you can view ... Java, Maven, pom.xml, ✓ test maps to development, else scope defaults...
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
Ya, I don’t like idea where ember-cli is watching for every item in node_modules.
Some possible optimizations:
I would say that development in
node_modules
it’s likely 1% of usual day-to day actions for FE developers, and likely we should not spend resources of 99% devs to support 1% by defaultI’m proposing to ignore those. To only watch what is specified in an app’s `package.json#dependencies
If we only watch the shallow dependencies-of-the-app’s output folder (dist in most cases), then none of nested ‘node_modules’ would matter