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

feat support for clear parameters #6521 #6536

Closed
wants to merge 5 commits into from

Conversation

19Qingfeng
Copy link

@19Qingfeng 19Qingfeng commented Jun 5, 2023

About: #6521

Support --clear command line to clear console and debugger.

  • Docs
  • Tests

I opened up my may machine and ran this script:

create a playgroud project.

add --clear command line to build/dev/watch, like "cross-env NODE_ENV=development node ./node_modules/@remix-run/dev/dist/cli watch --clear",.

Then run npm run dev to compile remix-run project.After that, the console/debugger in the code will be cleared.

build and watch is the same as dev, threr are all support clear.

@changeset-bot
Copy link

changeset-bot bot commented Jun 5, 2023

⚠️ No Changeset found

Latest commit: a7cb2b1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@remix-cla-bot
Copy link
Contributor

remix-cla-bot bot commented Jun 7, 2023

Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳

@19Qingfeng
Copy link
Author

hi @machour ,I think this feature should exist within the remix, because most of the time we can't ensure the code of other third-party node_modules packages. Do you have any suggestions?

@19Qingfeng
Copy link
Author

@pcattori @machour I do need this feature. If you have time, maybe under the approval of this function, I think there should also be a change function in the community.

@pcattori
Copy link
Contributor

pcattori commented Jul 5, 2023

#6719 changed remix dev to not clear the screen. You can still call clear && remix dev in your scripts if you want the initial clear.

@pcattori pcattori closed this Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants