Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: should support watch one file multiple times #6

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

dead-horse
Copy link
Member

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

@mention-bot
Copy link

@dead-horse, thanks for your PR! By analyzing the history of the files in this pull request, we identified @shaoshuai0102 and @luckydrq to be potential reviewers.

@dead-horse dead-horse added the bug label Apr 13, 2017
@codecov
Copy link

codecov bot commented Apr 13, 2017

Codecov Report

Merging #6 into master will decrease coverage by 0.19%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master       #6     +/-   ##
=========================================
- Coverage   84.33%   84.14%   -0.2%     
=========================================
  Files           8        8             
  Lines          83       82      -1     
=========================================
- Hits           70       69      -1     
  Misses         13       13
Impacted Files Coverage Δ
lib/watcher.js 83.33% <100%> (-0.54%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f00fa43...127e7cf. Read the comment docs.

@shaoshuai0102
Copy link
Contributor

+1

@shaoshuai0102 shaoshuai0102 merged commit 6d84e21 into master Apr 13, 2017
@shaoshuai0102 shaoshuai0102 deleted the fix-repeat branch April 13, 2017 09:51
@shaoshuai0102
Copy link
Contributor

egg-watcher@2.1.1

fengmk2 pushed a commit that referenced this pull request Dec 18, 2024
[skip ci]

## 1.0.0 (2024-12-18)

### ⚠ BREAKING CHANGES

* drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced new configuration files for managing watcher settings in
different environments (default, local, unittest).
- Added a new `Boot` class to manage application lifecycle and watcher
initialization.
- Implemented `Watcher` class for monitoring file changes with event
handling.
- Added `DevelopmentEventSource` and `DefaultEventSource` classes for
specific event source management.

- **Bug Fixes**
- Enhanced path handling in various modules to ensure correct file
watching functionality.

- **Documentation**
	- Updated `README.md` with project name change and improved structure.

- **Tests**
- Introduced new unit tests for watcher functionality and refactored
existing test files to improve clarity and structure.

- **Chores**
- Removed deprecated configuration files and streamlined project
structure.
	- Updated TypeScript configuration for stricter type-checking.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

### Features

* [BREAK CHANGE]  use cluster-client ([#2](#2)) ([90a8b47](90a8b47))
* add event source event logs ([#9](#9)) ([b351795](b351795))
* pass custom options ([#4](#4)) ([cf9fcac](cf9fcac))
* support cjs and esm both by tshy ([#14](#14)) ([c80fea0](c80fea0))

### Bug Fixes

* should support watch one file multiple times ([#6](#6)) ([6d84e21](6d84e21))
* spell error on watcher.js ([#13](#13)) ([9ab2eed](9ab2eed))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants