Variables hot reloading
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- build-system
Research direction
Start with postcss.config.js and the webpack dev-server recompilation path described in the issue. Trace how the imported variable files are discovered and whether the loader is available there. Done means editing a variable file triggers recompilation without restarting the webpack dev server, with the resulting variables updated.
Written by the indexing model from the issue text.
Description
The variables seem to be updated, but only after restarting webpack dev server. postcss.config.js seems to be added as a loader dependency by default, which means that editing this file causes webpack to recompile. However the variable files imported in postcss.config.js don't. Is there a way to access the loader in postcss.config.js in order to call addDependency with the variable files?
Otherwise how is the reloading supposed to work?
- Dominant language
- JavaScript
- Stars
- 428
- Forks
- 35
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from postcss/postcss-simple-vars
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
postcss/postcss-simple-vars#109 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
postcss/postcss-simple-vars#90 · 3 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
postcss/postcss-simple-vars#12 · 6 comments · 2 reactions ·
All issues in postcss/postcss-simple-vars
Similar issues
-
bug user-priority/P2
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug confirmed perf
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
videojs/video.js#9400 · 1 comment ·
Maintainers usually reply within 1 day
-
agent/scanner bug hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rescript-lang/rescript#8765 ·
Maintainers usually reply within 1 day
-
feedback simulation workshop
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
githubnext/gh-aw-workshop#4417 ·
Maintainers usually reply within 1 day