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'
20
20
import { main as ngc } from '@angular/compiler-cli/src/main'
21
21
import { CompressionPlugin } from '../fusebox/compression.plugin'
22
22
import { appEnvironmentVariables } from '../utilities/environment-variables'
23
- import { renderSingleSass } from '../utilities/sass'
23
+ import { renderSingleSass , renderSassDir } from '../utilities/sass'
24
24
import { SparkyFile } from 'fuse-box/sparky/SparkyFile'
25
25
import clearTerminal from '../utilities/clear'
26
26
import readConfig_ from '../utilities/read-config'
@@ -181,16 +181,17 @@ function serve(isProdBuild = false) {
181
181
. instructions ( ` !> [${ browserModule } ]` )
182
182
. splitConfig ( { dest : '../js/modules' } )
183
183
184
- task ( 'test ' , ( ) =>
184
+ task ( 'scss.watch ' , ( ) =>
185
185
watch ( 'src/**/**.*' ) . file ( '*.scss' , ( f : SparkyFile ) => {
186
186
f . homePath && renderSingleSass ( f . homePath )
187
187
} )
188
188
)
189
189
190
- exec ( 'test ' )
190
+ exec ( 'scss.watch ' )
191
191
192
192
logInfo ( 'Bundling your application, this may take some time...' )
193
193
194
+ renderSassDir ( )
194
195
fuseBrowser . run ( { chokidar : { ignored : / .s c s s / g } } )
195
196
} )
196
197
}
You can’t perform that action at this time.
0 commit comments