rails / cssbundling-rails

Bundle and process CSS in Rails with Tailwind, PostCSS, and Sass via Node.js.
MIT License
563 stars 83 forks source link

Watch Command w/ Bootstrap Fails to Pick Up Changes #142

Closed allcentury closed 5 months ago

allcentury commented 6 months ago

Yarn only picks up changes in stylesheets when I use:

yarn watch:css

and not

yarn build:css --watch

Here's what displays when I run yarn build:css --watch:

yarn build:css --watch                                                         [24/01/1 | 9:49:03]
yarn run v1.22.21
$ yarn build:css:compile && yarn build:css:prefix --watch
$ sass ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules
$ postcss ./app/assets/builds/application.css --use=autoprefixer --output=./app/assets/builds/application.css --watch

Here's my application.bootstrap.scss

@import 'bootstrap/scss/bootstrap';
@import 'bootstrap-icons/font/bootstrap-icons';
@import "components/pick";
@import "components/navbar";
allcentury commented 5 months ago

Closing this - I don't think the issue is with cssbundling