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: Specify Directories for Non-Rebuild Watch with Custom Command Execution #540

Open
saturn4er opened this issue Feb 28, 2024 · 0 comments

Comments

@saturn4er
Copy link

Description:
I propose the introduction of a feature that allows specifying certain directories to be monitored without triggering a full application rebuild. Instead, when changes are detected in these directories, a predefined command (e.g., npm build) would be executed.

Use Case:
In our current setup, we have a Node.js project nested within a Go project. The Node.js component is solely responsible for building JavaScript and CSS files. These files are then directly served by the Go application from the filesystem. Given this architecture, it's unnecessary for the entire application to undergo a rebuild whenever changes are made to the JS or CSS files. A more efficient approach would be to simply rebuild the JS and CSS assets.

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

No branches or pull requests

1 participant