Useful or not, from you.
angular-cli ng serve ignores includePaths in stylePreprocessorOptions

🐞 Bug report

<!-- Can you pin-point the command or commands that are effected by this bug? --> <!-- ✍️edit: -->

- [ ] new
- [ ] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

Works fine in 8.1.2

Description

🔬 Minimal Reproduction

Add following code to the build architect in the angular.json <pre><code> "stylePreprocessorOptions": { "includePaths": [ "src/scss" ] }, </code></pre>

Create constants.scss in the src/scss folder

Add @import 'constants'; to any component stylesheet

Run ng serve

🔥 Exception or Error

<pre><code> ERROR in ./src/app/modules/help/components/help-button/help-button.component.scss Module build failed (from ./node_modules/sass-loader/lib/loader.js):

@import "constants"; ^ Can't find stylesheet to import. ? 1 ? @import "constants"; ? ^^^^^^^^^^^ ? stdin 1:9 root stylesheet in /usr/src/src/app/modules/help/components/help-button/help-button.component.scss (line 1, column 9) </code></pre>

🌍 Your Environment

<pre><code> @angular-devkit/architect 0.802.0 @angular-devkit/build-angular 0.802.0 @angular-devkit/build-optimizer 0.802.0 @angular-devkit/build-webpack 0.802.0 @angular-devkit/core 8.2.0 @angular-devkit/schematics 8.2.0 @angular/cdk 8.1.2 @angular/flex-layout 8.0.0-beta.26 @angular/material 8.1.2 @ngtools/webpack 8.2.0 @schematics/angular 8.2.0 @schematics/update 0.802.0 rxjs 6.5.2 typescript 3.5.3 webpack 4.38.0 </code></pre>

Anything else relevant? It doesn't happen in ng build <!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. -->

<!-- ✍️Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below. -->

That's a useful answer
Without any help

You are correct. It seems to be the same problem. I renamed the file to variables.scss and it works fine now. Thanks for pointing that out.