Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve from a defined directory #128

Open
fskreuz opened this issue Nov 26, 2016 · 0 comments
Open

Serve from a defined directory #128

fskreuz opened this issue Nov 26, 2016 · 0 comments

Comments

@fskreuz
Copy link

fskreuz commented Nov 26, 2016

I'm debugging a library that can either be used on a browser or on Node. However, there's a few problems:

  • gobble serve builds and serves files in .gobble on localhost:4567. However, due to the variable directory structure, it's not easy for node scripts to consume that built library.

  • gobble watch out watches files and builds to an out directory. This option is easier for node, as the directory is in a predictable path. However, the files aren't served by a server for the browser.

Separately, they're fine. But it's quite annoying to stop the gobble serve and run gobble watch for node, and vice versa to check if the library works fine on both environments. Is it possible to merge functionality? Like a command that builds to a predictable directory and serve from that directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant