You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Describe the bug
Normal css compilation via npm run build works fine, but when running the npm run watch task, it breaks the compilation of css assets.
To Reproduce
Steps to reproduce the behavior:
run npm run watch
modify an scss file within src/scss/components/, and save.
build is triggered, but does not compile all the assets. Only CSS that is output is dist/css/components.css. all the other css files are not built, leaving the site unstyled for the most part.
404 errors due to files missing:
dist/css/print.css
dist/css/theme.css
dist/css/state.css
dist/css/layout.css
dist/css/base.css
dist/css/admin.css
similar behavoiur for files under admin, print, and state subfolders (only compiles the css file for that subdir, not the others).
modifying scss files uner layout or theme subdirectories fails to build any css whatsoever.
Only subdirectory where full build runs is in src/scss/base - for instance modifying src/scss/base/_table.scss does trigger a full build of all assets.
Expected behavior
Watch task should compile all assets.
Screenshots
404 errors for expected CSS files in console after build triggered on watch.
Desktop (please complete the following information):
OS: lunux - Pop!_OS 20.04 LTS
Browser: Chrome
Version: 95.0.4638.54
The text was updated successfully, but these errors were encountered:
Describe the bug
Normal css compilation via
npm run build
works fine, but when running thenpm run watch
task, it breaks the compilation of css assets.To Reproduce
Steps to reproduce the behavior:
npm run watch
src/scss/components/
, and save.dist/css/components.css
. all the other css files are not built, leaving the site unstyled for the most part.404 errors due to files missing:
dist/css/print.css
dist/css/theme.css
dist/css/state.css
dist/css/layout.css
dist/css/base.css
dist/css/admin.css
similar behavoiur for files under admin, print, and state subfolders (only compiles the css file for that subdir, not the others).
modifying scss files uner layout or theme subdirectories fails to build any css whatsoever.
Only subdirectory where full build runs is in
src/scss/base
- for instance modifyingsrc/scss/base/_table.scss
does trigger a full build of all assets.Expected behavior
Watch task should compile all assets.
Screenshots

404 errors for expected CSS files in console after build triggered on watch.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: