-
-
Notifications
You must be signed in to change notification settings - Fork 15
feat(watch): use before-watchPatterns hook #62
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
Conversation
f8a34b4
to
d770fe5
Compare
lib/watch.js
Outdated
if (hookArgs.config) { | ||
const appFilesUpdaterOptions = hookArgs.config.appFilesUpdaterOptions; | ||
if (appFilesUpdaterOptions.bundle) { | ||
logger.warn("Hook skipped because either bundling is in progress.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either what?
d770fe5
to
558b359
Compare
Can't wait for this. Could you release a rc version with this? |
@farfromrefug
The Do bear in mind that this functionality will only be available if you use |
@Mitko-Kerezov thanks. I totally understand. I will test it. |
Use CLI's
before-watchPatterns
hook in order to instruct CLI not to watch.scss
files.In addition do not launch a
sass
watch process when bundling, assume bundler will handle it.Ping @rosen-vladimirov
Merge after NativeScript/nativescript-cli#3350