Skip to content

Commit

Permalink
nsqadmin: more robust gulp instructions
Browse files Browse the repository at this point in the history
seems our versions of npm packages does not work with nodejs 10.x
gulp clean and build in parallel does not always work
  • Loading branch information
ploxiln committed Feb 8, 2019
1 parent 0148775 commit 11fbb2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion nsqadmin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Read the [docs](http://nsq.io/components/nsqadmin.html)

## Working Locally

0. install nodejs 8.x (includes npm)
1. `$ npm install`
2. `$ ./gulp clean watch` or `$ ./gulp clean build`
2. `$ gulp --series clean watch` or `$ ./gulp --series clean build`
3. `$ go-bindata --debug --pkg=nsqadmin --prefix=static/build static/build/...`
4. `$ go build && ./nsqadmin`
5. make changes (repeat step 5 if you make changes to any Go code)
Expand Down
4 changes: 2 additions & 2 deletions nsqadmin/gulp
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
exec ./node_modules/.bin/gulp $@
#!/bin/sh
exec ./node_modules/.bin/gulp "$@"

0 comments on commit 11fbb2f

Please sign in to comment.