question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Suggestion] Verb Watcher

See original GitHub issue

Current situation: I am using verb quite often in combination with grip (https://github.com/joeyespo/grip), just to review my READMEs before uploading. Currently - after each change - I have to run verb in the CLI.

Proposal: It would be extremely helpful to have an option for verb (or verb-cli basically) to watch the changes in the following files:

verb -w watches the following changes and re-runs verb:

  • package.json - Just in cases you are making changes to the configuration of verb
  • verbfile.js - In case you change the custom verbfile.js file
  • .verb.md - To watch the structure of the default verb file.
  • ./docs/**/*.* - Watch all changes of .md files, but also any other files in this directory (e.g. images, etc.)

@jonschlinkert, @doowb: What do you think?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
jonschlinkertcommented, Jun 17, 2017

@stefanwalther that’s awesome!

btw, as a side note, I know I’ve been saying this forever, but we’re very close to merging verb to master and publishing. we’re finally working on the finishing touches to some libraries we wanted to finish first.

1reaction
tunnckoCorecommented, Aug 22, 2016

I believe you can do this manually currently with dev/0.9.0.

verbfile.js


var watch = require('base-watch')
var verb = require('verb');
var app = verb().use(watch());

app.watch([
  'package.json',
  'verbfile.js',
  '.verb.md',
  './docs/**/*.*'
], {options: 'to chokidar'})

module.exports = app;

docs https://github.com/node-base/base-watch

But yea, builtin would be good too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suggestion Definition & Meaning - Dictionary.com
A suggestion is a proposal, piece of advice, or idea for consideration. Suggestion is the noun form the verb suggest. Suggestion is often...
Read more >
How to Give Clear Suggestions and Strong ... - English with Kim
Learn how to give clear, strong suggestions and recommendations using verbs of suggestion and adjectives of importance.
Read more >
Learn How to use this Verb and Make Suggestions
Also when you want to make a suggestion, to sound natural, you might need to use a phrase without the verb suggest. Watch...
Read more >
Suggestions - Grammar - Cambridge Dictionary
If we make a suggestion, it means that we mention a possible course of action to someone. There are a number of expressions...
Read more >
The English verb SUGGEST - Crown Academy of English
“suggest” is a verb. ... Meaning: To propose an idea, thing, or action for other people to consider. Example: Mark: I can't decide...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found