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

feat: can disable fast ready #4

Merged
merged 1 commit into from Jan 3, 2017
Merged

feat: can disable fast ready #4

merged 1 commit into from Jan 3, 2017

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Jan 3, 2017

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

@fengmk2, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jtyjty99999 and @atian25 to be potential reviewers.

exports.development = {
watchDirs: [], // dirs needed watch, when files under these change, application will reload.
ignoreDirs: [], // dirs don't need watch, including subdirectories
fastReady: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其实我不想加,在注释里面重复了。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯, 看到了

@@ -4,8 +4,10 @@
* @member Config#development
* @property {Array} watchDirs - dirs needed watch, when files under these change, application will reload, use relative path
* @property {Array} ignoreDirs - dirs don't need watch, including subdirectories, use relative path
* @property {Boolean} fastReady - don't wait all plugins ready, default is true.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要不要说明下, 开启后可能导致的错误场景?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要,没人会设置的。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那要在 readme 里面说明下默认开启且可能导致的错误场景? 内网版不是有人踩坑了么

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不加了,加了反而更加麻烦。内网也就一个人觉得会有问题。如果需要 fastready = false,直接关闭这个插件更好。。。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@atian25 atian25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@codecov-io
Copy link

codecov-io commented Jan 3, 2017

Current coverage is 100% (diff: 100%)

Merging #4 into master will not change coverage

@@           master    #4   diff @@
===================================
  Files           4     4          
  Lines          44    44          
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
  Hits           44    44          
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update ccb854e...c4c543e

@atian25 atian25 merged commit 7355315 into master Jan 3, 2017
@atian25 atian25 deleted the add-faster-ready branch January 3, 2017 06:55
@atian25
Copy link
Member

atian25 commented Jan 3, 2017

合了, 你发吧

@fengmk2
Copy link
Member Author

fengmk2 commented Jan 3, 2017

1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants