Skip to content
This repository was archived by the owner on Jan 17, 2022. It is now read-only.

feat(hmr): use custom binary build with go and fsnotify lib to provide better HMR experience#414

Open
k911 wants to merge 1 commit into
developfrom
feat/fsnotify-hmr
Open

feat(hmr): use custom binary build with go and fsnotify lib to provide better HMR experience#414
k911 wants to merge 1 commit into
developfrom
feat/fsnotify-hmr

Conversation

@k911

@k911 k911 commented Dec 8, 2020

Copy link
Copy Markdown
Owner

On macOS it is required to check open file limits to make this work:
(See: https://github.com/fsnotify/fsnotify#faq and fsnotify/fsnotify#129)

To fix errors too many open files on macOS run:

ulimit -n 2048

@k911 k911 added kind/feature New feature or request status/wip Work in progress area/hmr priority/backlog labels Dec 8, 2020
@k911 k911 self-assigned this Dec 8, 2020
@k911 k911 force-pushed the feat/fsnotify-hmr branch 2 times, most recently from 7536cae to fbefb1d Compare December 9, 2020 13:35
@k911 k911 changed the title feat(hmr): use custom binary build with go and fsnotify lib to provid… feat(hmr): use custom binary build with go and fsnotify lib to provide better HMR experience Dec 9, 2020
@codecov

codecov Bot commented Dec 9, 2020

Copy link
Copy Markdown

Codecov Report

Merging #414 (c58002c) into develop (f9e500a) will decrease coverage by 4.09%.
The diff coverage is 32.32%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #414      +/-   ##
=============================================
- Coverage      85.69%   81.60%   -4.10%     
- Complexity       644      663      +19     
=============================================
  Files             91       92       +1     
  Lines           2041     2125      +84     
=============================================
- Hits            1749     1734      -15     
- Misses           292      391      +99     
Impacted Files Coverage Δ Complexity Δ
src/Server/Runtime/HMR/FsnotifyReloaderHMR.php 0.00% <0.00%> (ø) 14.00 <14.00> (?)
...ony/Bundle/DependencyInjection/SwooleExtension.php 69.56% <20.00%> (-7.60%) 55.00 <6.00> (+1.00) ⬇️
...mfony/Bundle/DependencyInjection/Configuration.php 92.91% <84.84%> (-1.43%) 14.00 <0.00> (+4.00) ⬇️
src/Server/Runtime/HMR/InotifyHMR.php 0.00% <0.00%> (-96.67%) 16.00% <0.00%> (ø%)
src/Server/WorkerHandler/HMRWorkerStartHandler.php 91.66% <0.00%> (-8.34%) 4.00% <0.00%> (ø%)

@k911 k911 force-pushed the feat/fsnotify-hmr branch 2 times, most recently from 22f258b to bd2520a Compare December 9, 2020 23:02
@k911 k911 force-pushed the feat/fsnotify-hmr branch from bd2520a to c58002c Compare December 9, 2020 23:44
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit c58002c and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 31.6% (50% is the threshold).

This pull request will bring the total coverage in the repository to 81.5% (-4.0% change).

View more on Code Climate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/hmr kind/feature New feature or request priority/backlog status/wip Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant