Jed Fox

Results 602 comments of Jed Fox

> Is it possible to serve a json server by running an npm script and seeing the server fake.dev? Does `hotel add --port 3000 --name fake --out hotel.log 'yarn run...

Is the `cwd` key correct in `%HOME%\.hotel\servers\fake.json`? If so, can you try running `hotel add --port 3000 --name fake --out cd.log cd` and tell me what it puts in `cd.log`?

> `"D:\somedirectory/projectdir"` Are there two `\` after the `D:` in the actual string? If there aren’t, that’s a **really** weird bug. Also, the fact that there’s a `/` in the...

What does `hotel add --name fake cd` output?

It looks like hotel is changing to the appropriate directory, so the problem might lie elsewhere. The reason why `hotel run` works is because it actually runs the server in...

This might be a bug with how `yarn`/Windows resolves executables. `yarn` should add `node_modules/.bin` to the lookup path, but it seems like it’s not doing that for some reason, preventing...

@mehrdaad hotel saves the directory you’re in when you run `hotel add`, then switches back to that directory before running your script.

The way Figma implements this is that it allows you to add a “frame” which contains (and clips) any objects that are dragged into it.

Related: https://github.com/11ty/eleventy/issues/2175

Is there anything I can do to help this PR get merged?