Preprocessor dependencies are not tracked
See original GitHub issueDescribe the bug Suppose I have installed svelte-preprocess and sass. Here is my index.svelte file:
<style lang="scss" src="../app.scss"></style>
So when I run svelte-kit dev
the dev server is launched. If I make changes to the index.svelte file, the server is reloaded but if I make changes to app.scss file, the server is not reloaded and no change occurs.
Expected behavior When I make changes to app.scss file, the output should be updated.
Information about your SvelteKit Installation:
Diagnostics
- System: OS: Windows 10 10.0.19041 CPU: (4) x64 Intel® Core™ i5-6200U CPU @ 2.30GHz Memory: 2.70 GB / 7.80 GB
- Binaries: Node: 14.16.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD npm: 7.6.3 - C:\Program Files\nodejs\npm.CMD
- Browsers: Chrome: 81.0.4044.138 Edge: Spartan (44.19041.423.0), Chromium (89.0.774.68) Internet Explorer: 11.0.19041.1
- npmPackages: @sveltejs/kit: next => 1.0.0-next.70 svelte: ^3.37.0 => 3.37.0 vite: ^2.1.5 => 2.1.5
Severity A serious bug for me as I cannot debug by scss styles.
Additional context If a repro is needed I can provide one.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
cmake 3.5.1 fails to track dependencies on include files where ...
Unfortunately, cmake failed to track the dependencies when I use a macro. The source file is not recompiled when the include files specified ......
Read more >Dependency tracking in Application Insights - Azure Monitor
Monitor dependency calls from your on-premises or Azure web application with Application Insights.
Read more >Preprocessor Options (Using the GNU Compiler Collection ...
When used with -M or -MM , specifies a file to write the dependencies to. If no -MF switch is given the preprocessor...
Read more >GNU autotools include file dependency tracking (.deps ...
Try writing an implicit ".cu.cc" rule for generating C++ files from the CUDA files. Automake should then be able to track the dependencies...
Read more >How dependency tracking works - Knockout.js
If the evaluator doesn't access any obsevables, the computed observable will have no dependencies and won't ever need to call the evaluator function...
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
Yeah, thanks everyone.
Think we should close this to keep tracking there only?