Bug fix - typo produces error#2
Bug fix - typo produces error#2ThorntonStuart wants to merge 2 commits intoswitchbitio:part2from ThorntonStuart:part2
Conversation
|
Great to hear you're enjoying the blog and thanks for the PR! Could you elaborate more on the errors you were getting? If I run this locally as is, it works (it always does though 😄). I also just added an update regarding the Node version to use, if by some chance it could be related to that. See here |
|
Hmm strange. I did figure that it might not be a mistake when I found it again in the watch-js file. The issue I got prior to the first commit was: Unhandled rejection Error: Task browsersync is not configured as a task on gulp. If this is a submodule, you may need to use require('run-sequence').use(gulp). Adding the dash fixed this error, and 'gulp ghost' would run, but then saving the .hbs would trigger the error from the watch.js file: Task 'browsersync:reload' is not in your gulpfile And strangely adding the dash fixed this too. Thought it might be a 'run-sequence' issue but then obviously the dashes fixed it so didn't explore that possibility after that. |
|
Weird indeed. What platform you running on? |
|
Running El Capitan 10.11.3 |
Probably doesn't even warrant a pull request, but never done one before and fixes a bug that I was having! Otherwise really enjoyed the blog and everything is working great.