aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-03-03 04:48:15 +0800
committerDan Finlay <dan@danfinlay.com>2016-03-03 04:48:15 +0800
commit32252e39cc1633ee623cf055eac57210ff4f9179 (patch)
treeb160310c46c190d5da6e067aac98d048028f2db7
parent19c1c39334f46149e1a14ed4b27ef437b78a969c (diff)
downloadtangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.tar
tangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.tar.gz
tangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.tar.bz2
tangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.tar.lz
tangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.tar.xz
tangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.tar.zst
tangerine-wallet-browser-32252e39cc1633ee623cf055eac57210ff4f9179.zip
Add grunt watch to web3-provider-engine
-rw-r--r--Gruntfile.js2
-rw-r--r--README.md8
2 files changed, 6 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index f04fcac3a..7ffdf9e58 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -19,6 +19,7 @@ module.exports = function (grunt) {
var config = {
app: 'app',
dist: 'dist',
+ modules: 'node_modules',
ui: 'node_modules/metamask-ui'
};
@@ -33,6 +34,7 @@ module.exports = function (grunt) {
files: [
'<%= config.app %>/scripts/{,*/}*.js',
'<%= config.ui %>/{,*/}*.js',
+ '<%= config.modules %>/web3-provider-engine/{,*/}*.js',
],
options: {
livereload: '<%= connect.options.livereload %>'
diff --git a/README.md b/README.md
index ca41ed6e3..fbfe81864 100644
--- a/README.md
+++ b/README.md
@@ -24,10 +24,10 @@ You now have the plugin, and can click 'inspect views: background plugin' to vie
### Developing the UI
-To enjoy the live-reloading that `grunt dev` offers while working on the `metamask-ui` dependency:
+To enjoy the live-reloading that `grunt dev` offers while working on the `metamask-ui` or `web3-provider-enigne` dependencies:
- 1. Clone the `metamask-ui` dependency locally.
+ 1. Clone the dependency locally.
2. `npm install` in its folder.
3. Run `npm link` in its folder.
- 4. Run `npm link metamask-ui` in this project folder.
- 5. Next time you `grunt dev` it will watch the metamask-ui for changes as well!
+ 4. Run `npm link $DEP_NAME` in this project folder.
+ 5. Next time you `grunt dev` it will watch the dependency for changes as well!