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

Watch other resources (#226) #227

Merged
merged 4 commits into from
Jan 3, 2019
Merged

Conversation

maier49
Copy link
Contributor

@maier49 maier49 commented Jan 2, 2019

Use the extra-watch-webpack-plugin to watch all files not in
dot folders, output, or node_modules.

Type: feature

The following has been addressed in the PR:

  • There is a related issue
  • All code has been formatted with prettier
  • Unit or Functional tests are included in the PR

Description:

Resolves #226

@maier49 maier49 requested review from agubler and matt-gadd January 2, 2019 22:42
@jsf-clabot
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Bradley Maier seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

@codecov
Copy link

codecov bot commented Jan 2, 2019

Codecov Report

Merging #227 into master will decrease coverage by 0.18%.
The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #227      +/-   ##
=========================================
- Coverage   52.68%   52.5%   -0.19%     
=========================================
  Files          10      10              
  Lines         596     600       +4     
  Branches      144     146       +2     
=========================================
+ Hits          314     315       +1     
- Misses        282     285       +3
Impacted Files Coverage Δ
src/base.config.ts 22.9% <25%> (+0.04%) ⬆️

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 634ed39...f8075b2. Read the comment docs.

}),
watch &&
new ExtraWatchWebpackPlugin({
files: ['!(output|.*)/**']
Copy link
Contributor

Choose a reason for hiding this comment

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

does this ignore node_modules by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was the behavior I observed in testing, but it's not explicitly documented as such so I've added it here.

package.json Outdated
@@ -114,6 +114,7 @@
"eventsource-polyfill": "0.9.6",
"express": "4.16.2",
"express-static-gzip": "1.1.3",
"extra-watch-webpack-plugin": "^1.0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

can we pin this?

@@ -417,7 +423,7 @@ export default function webpackConfigFactory(args: any): webpack.Configuration {
}
},
{
test: /\.(css|js)$/,
test: /\.(css|js)/,
Copy link
Contributor

Choose a reason for hiding this comment

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

was this meant to change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, sorry about that. I've reverted that change.

Use the extra-watch-webpack-plugin to watch all files not in
dot folders, output, or node_modules.
@maier49 maier49 force-pushed the 226-watch-resources branch from 6d71db3 to 3abe150 Compare January 3, 2019 15:20
@maier49 maier49 merged commit 4314039 into dojo:master Jan 3, 2019
@maier49 maier49 deleted the 226-watch-resources branch January 3, 2019 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants