Watch mode for package command #2333
Labels
feature / enhancement
New feature or request
p3-edge-case
SvelteKit cannot be used in an uncommon way
pkg:svelte-package
Issues related to svelte-package
Describe the problem
Some people use SvelteKit to create a package but use/test this package in a different environment than the
routes
folder in the same project. For them to get updates, they have to run the package command over and over again or write a custom script for that, which might not work for windows users. Details: sveltejs/component-template#29 (comment)Describe the proposed solution
Add a
--watch
option to the package command which rebuilds the package without deleting its top level folderAlternatives considered
Don't add it, but at least don't delete the top level folder (only empty its content) so that the changes are properly picked up by watchers.
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: