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

Watch mode with no dev server #1264

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oliverstr
Copy link

What kind of change does this PR introduce?
Feature

Did you add tests for your changes?
No

Summary

#1248

Does this PR introduce a breaking change?
No

@prateekbh prateekbh added this to the 3.1 milestone Jun 29, 2020
--devServer Determine if dev server should be enabled (default true)
--dest Specify output directory if dev server is disabled (default build)
--ignore Path relative to src to be ignored during watch if dev server is disabled
--esm Builds ES-2015 bundles for your code. (default true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: The slightly different indentation here is quite noticeable on the rendered file

.option(
'--ignore',
'Path relative to src to be ignored during watch if dev server is disabled',
''
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This default value means that src/ is ignored by default. I don't think this is intended?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
''
null

@rschristian
Copy link
Member

rschristian commented Jun 29, 2020

A user will be unable to use even simple stylesheet imports without wrapping in a window check with this system. Can we possibly improve the developer experience and find a way to make this work?

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

Successfully merging this pull request may close these issues.

4 participants