-
Notifications
You must be signed in to change notification settings - Fork 295
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
Development workflow with watch mode #78
Comments
@Wykks When using together with Angular CLI, right now, I let the CLI re-compile the build, i.e. For watching file changes, I use an separate |
I see, thanks ! |
@Wykks One more note: it is possible to use ng-packagr together with a generic file watcher tool like chokidar or chokidar-cli. From their docs, you can try: $ chokidar '**/*.html' '**/*.ts' | ng-packagr |
So I tried this with ng-serve on the test app, and then chokidar for the library build itself, but the ng serving of the dev app basically catches the library disappear, doesn't catch the complete of the rebuild. Has anyone got this process polished enough where they can tweak ts/html for components in the library and rebuild automatically, all the while still watching the demo app and having that "just work"? |
@ronnyek , Hello. Check it out here: https://github.com/Tamango92/yo-lib |
This issue has been automatically locked due to inactivity. |
Hi !
I'm not seeing a way to watch files changes with ng-packagr, do you plan to add this ?
Edit: using
ng-packaged
if I runyarn build:lib
whileng serve
is running, it break.How do you develop a lib with ng-packagr ? (sorry I'm totally lost...)
The text was updated successfully, but these errors were encountered: