Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !42

Enable hot reloading for CSS

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge hot-css into master Jul 20, 2016
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: gaearon

Now changes to CSS reload instantly. This is much more stable than hot reloading for components right now. I think it’s a good idea to get this in.

The only thing I’m not happy about are these logs:

[HMR] Waiting for update signal from WDS...
[WDS] Hot Module Replacement enabled.

when you start the app.

We could fork WDS and hot server client code (those are tiny files) and remove the logs, or we could send PRs to Webpack to make logging configurable. I think it’s not a big deal and we can do it later.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hot-css