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

Feature request: Implement a --run option #221

Open
mhheise opened this issue Aug 25, 2021 · 0 comments
Open

Feature request: Implement a --run option #221

mhheise opened this issue Aug 25, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mhheise
Copy link

mhheise commented Aug 25, 2021

Hi! 👋 Thank you for building siroc.

I have been experimenting with siroc and it has been quite easy to implement. The only use case that I have encountered so far that hasn't been supported "out-of-the-box" is running the resulting bundles through Node once built. I have been able to use @rollup/plugin-run in the rollup options do this, but I wonder if this is something that you would like to support via the library via some sort of --run option. This is something that I saw in my research of esbuild-based tools like estrella and esmon.

Ideally, I would be able to:

  • Use siroc build --run to build and run a package once;
  • Use siroc build --watch --run to build and run a package that reloads on changes; and,
  • Pass through options to the underlying @rollup/plugin-run (like the execArgv option in @rollup/plugin-run allows).

Of course, if you decide not to take this on, no worries -- the existing experience already works well for me!

Thanks!

@mhheise mhheise added the enhancement New feature or request label Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants