Closed nwhittaker closed 8 years ago
Following the first grunt build, the docs site is unstyled. It becomes styled after subsequent builds (without cleaning in between).
grunt
grunt clean
docs/build
http://0.0.0.0:8888 is unstyled and ... "GET /assets/css/calcite-bootstrap.css" Error (404): "Not found" appears in the server log.
... "GET /assets/css/calcite-bootstrap.css" Error (404): "Not found"
http://0.0.0.0:8888 is styled similarly to http://esri.github.io/calcite-bootstrap/.
http://0.0.0.0:8888
The issue appears to stem from a concurrency issue where the copy build step occurs before the scss step completes[1].
copy
scss
[1] https://github.com/Esri/calcite-bootstrap/blob/master/gruntfile.js#L365
Following the first
grunt
build, the docs site is unstyled. It becomes styled after subsequent builds (without cleaning in between).Steps to reproduce
grunt clean
and manually remove thedocs/build
directory).grunt
and visit http://0.0.0.0:8888.Observed behavior
http://0.0.0.0:8888 is unstyled and
... "GET /assets/css/calcite-bootstrap.css" Error (404): "Not found"
appears in the server log.Expected behavior
http://0.0.0.0:8888
is styled similarly to http://esri.github.io/calcite-bootstrap/.Fix
The issue appears to stem from a concurrency issue where the
copy
build step occurs before thescss
step completes[1].[1] https://github.com/Esri/calcite-bootstrap/blob/master/gruntfile.js#L365