Breaks when used in a subdirectory
See original GitHub issueThanks for the excellent tool!
The CLI seems to expect activity to happen in the current working directory. This npm script causes several errors:
{
"visual:approve": "reg-cli test/latest test/approved test/diffs --report test/report.html --json test/report.json"
}
But this one works perfectly:
{
"visual:approve": "cd test && reg-cli latest approved diffs --report report.html --json report.json"
}
A sampling of the errors:
Error: ENOENT: no such file or directory, unlink './approved/[IMG]'
Error: ENOENT: no such file or directory, open './latest/[IMG]
It’s also possible I’m just misunderstanding the usage.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Why does being in a (sub)directory break dependency injection?
I have the following directory structure: Root. App. app.module.ts; app.component.ts; app.component.html; test.component.ts; services.
Read more >Glob passthrough breaks watch in subdirectories · Issue #1513
I keep each page in its own directory (so post/my-post/my-post.md contains the content for /post/my-post/ ) and images in that same directory ...
Read more >Moving Discourse to subdirectory caused all uploads to break
The only noticeable problem was that this broke all current and new uploads. Existing uploads 404 from nginx, and new uploads fail with...
Read more >Breaks My Site (Multisite Subdirectory) - WordPress.org
Hello,. I am developing a dedicated support site on a multisite network with the subdirectory path, mysite.com/support/. I was planning to use WP...
Read more >Breaking Down Subdirectories, Subdomains, and Standalone ...
In this episode, Matt Nickols (CEO of MarketSnare), Elliot Olson (Sales & Marketing Manager of MarketSnare), and Kevin Mullett (VP of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fantastic, thanks! Seems to be working as expected now. 👍
Oops, sorry… fixed by https://github.com/reg-viz/reg-cli/pull/126. @bitjson Could you please try
v0.11.2
if you get a chance.