Skip to content

Webpack doesn't seem to be live reloading the frontend anymore on OSX with certain options #1293

Closed
@jonespm

Description

@jonespm

Thank you for contributing to this project!

  • Make sure to search the issues for duplicates first!

Expected behavior (A description of what you expected to happen) :

When developing and changing the code we used to see changes in the frontend rebuilding. This is the point of webpack_watcher. However it doesn't look like this happens in OSX Docker if you have the option Use gRPC FUSE unchecked.

Unchecking this can give a disk performance boost when developing.

Describe the bug (Tell us what happens instead of the expected behavior) :

It seems like the fix for this is to both switch the watchOptions poll to true and also switch delegated to cached for the mount options.

Note the delegated and cached are not used on Windows and don't appear to be used in OSX if the Docker option "Use gRPC FUSE for file sharing" is checked.

Steps to Reproduce :

  1. On OSX Docker General have the option Use "gRPC FUSE" unchecked and Apply/Restart.
  2. Start up MyLA for development
  3. Modify some frontend javascript code
  4. The changes should be updated. If you look at the docker logs webpack_watcher it should also show changes compiled.

This will only affect development

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions