Skip to content

Commit

Permalink
fix: Backstop server path (#53)
Browse files Browse the repository at this point in the history
* fix: Backstop server path

* Use path relative to current dir
  • Loading branch information
brankol authored Oct 14, 2022
1 parent 43e61b2 commit ece057d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/Visual/create-backstop-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function createBackstopConfig(root = __dirname + "/public", scenarios = [], defa

spawn(
"node",
["./http-server.js"],
[__dirname + "/http-server.js"],
{ detached: true, stdio: "inherit", env: { ...process.env, SERVER_PORT, ROOT: root } }
).unref();

Expand Down

0 comments on commit ece057d

Please sign in to comment.