File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { NgAotFactoryPlugin } from '../fusebox/ng.aot-factory.plugin'
2020import { main as ngc } from '@angular/compiler-cli/src/main'
2121import { CompressionPlugin } from '../fusebox/compression.plugin'
2222import { appEnvironmentVariables } from '../utilities/environment-variables'
23- import { renderSingleSass } from '../utilities/sass'
23+ import { renderSingleSass , renderSassDir } from '../utilities/sass'
2424import { SparkyFile } from 'fuse-box/sparky/SparkyFile'
2525import clearTerminal from '../utilities/clear'
2626import readConfig_ from '../utilities/read-config'
@@ -181,16 +181,17 @@ function serve(isProdBuild = false) {
181181 . instructions ( ` !> [${ browserModule } ]` )
182182 . splitConfig ( { dest : '../js/modules' } )
183183
184- task ( 'test ' , ( ) =>
184+ task ( 'scss.watch ' , ( ) =>
185185 watch ( 'src/**/**.*' ) . file ( '*.scss' , ( f : SparkyFile ) => {
186186 f . homePath && renderSingleSass ( f . homePath )
187187 } )
188188 )
189189
190- exec ( 'test ' )
190+ exec ( 'scss.watch ' )
191191
192192 logInfo ( 'Bundling your application, this may take some time...' )
193193
194+ renderSassDir ( )
194195 fuseBrowser . run ( { chokidar : { ignored : / .s c s s / g } } )
195196 } )
196197}
You can’t perform that action at this time.
0 commit comments