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.

Incremental flag in config

See original GitHub issue

I run backstop with something like that:

const backstop = require('backstopjs');

backstop('reference', {config:'custom/backstop/config.json'});

I don’t want to remove all reference images. There is a incremental param flag to do that backstop reference --i but I don’t know how to do this with config.json file. The param --filter is similar.

Thanks for your help

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
garriscommented, May 8, 2018

Reference has been deprecated and is only supported as a utility function. It will clean the directory and start fresh.

The recommended flow is backstop test backstop approve Repeat.

1reaction
joyarzuncommented, May 26, 2017

@garris filter and incremental are part of config.args look here but the makeConfig.js only merge args from command params. So I’m pretty sure that there is no way to add config.args.[filter | incremental] in config file. It’s right? Is there any way to do it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incremental flag syntax
This topic describes the syntax of the --incrementalUpdate flag. ... The DP CLI flag syntax for an Incremental update operation is one of...
Read more >
incremental - TSConfig Option - TypeScript
TSConfig. incremental ... All the configuration options for a project. Classes. How to provide types to JavaScript ES6 classes. Made with ♥ in...
Read more >
Regarding new "incremental" flag from TS 3.4 #913 - GitHub
The sole purpose of incremental flag, as I see it, is to speed up cold builds (webpack watch is covered by ts-loader already)...
Read more >
Incremental Regeneration - Default Configuration - Jekyll
Incremental regeneration can be enabled via the --incremental flag ( -I for short) from the command-line or by setting incremental: true in your...
Read more >
What is the meaning of incremental in tsconfig.json?
Enable incremental compilation by reading/writing information from prior compilations to a file on disk. This file is controlled by the ...
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