LearnNewsExamplesServices
Frontmatter
id3119
titleSCSS file watcher
stateClosed
labels
enhancement
assignees[]
createdAtMay 31, 2022, 7:21 PM
updatedAtJun 7, 2022, 4:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/3119
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 7, 2022, 4:24 PM

SCSS file watcher

Closed v8.1.0 enhancement
tobiu
tobiu commented on May 31, 2022, 7:21 PM

this topic came up frequently and should get a high priority.

currently, each scss file change requires npm run build-themes. we can limit it to dev mode and use css vars, but this is still too slow.

for a file-watcher, we will most likely need to stick to the css vars based env, but this seems fair (we can switch to the other mode once done).

tobiu added the enhancement label on May 31, 2022, 7:21 PM
tobiu
tobiu Jun 1, 2022, 3:48 PM

we can not use scss -watch: https://sass-lang.com/guide

since this is just a small part of our logic.

this one looks perfect though: https://nodejs.org/docs/latest/api/fs.html#fswatchfilename-options-listener

tobiu referenced in commit 9c4b45d - "SCSS file watcher #3119: basic folder tree watcher setup" on Jun 3, 2022, 5:11 PM
tobiu referenced in commit 82fdae4 - "SCSS file watcher #3119: scss build (in progress, not stable)" on Jun 4, 2022, 1:20 AM
tobiu referenced in commit 25ce601 - "SCSS file watcher #3119: button test cleanup" on Jun 4, 2022, 1:20 AM
tobiu referenced in commit 01d8b25 - "SCSS file watcher #3119" on Jun 7, 2022, 4:24 PM
tobiu closed this issue on Jun 7, 2022, 4:24 PM