alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
306 stars 236 forks source link

Sass doesn't live update if there are square brackets in the path #1749

Closed joelanman closed 1 year ago

joelanman commented 2 years ago

Description of the issue

if there are square brackets [ or ] in the sass path, live reloading does not work

Steps to reproduce the issue

  1. Create a prototype with square brackets in the path, for example ~/prototypes/[test]/app/assets/sass
  2. Make a change to the sass

Actual vs expected behaviour

Actual: no change is updated until the prototype is restarted Expected: change is live updated in the browser

Environment (where applicable)

lfdebrux commented 2 years ago

How curious. I was able to reproduce with v13 beta 3. I also tested with v12, where I got the correct expected behaviour, so this appears to be a regression.