Plain js watching
See original GitHub issueWith this setup:
mix
.scripts(['resources/assets/js/functions.js', 'resources/assets/js/app.js'], 'public/js/app.js')
.sass('resources/assets/sass/app.scss', 'public/css')
.options({
processCssUrls: false
});
I don’t get notifications on compile but the compile happens. The other thing is that changes take effect after 2 or 3 compiles. I have a timestamp added to public/js/app.js.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Watch an object for changes in Vanilla JavaScript - Medium
Watch an object for changes in Vanilla JavaScript · Method 1: Polling · Method 2: Object.prototype.watch() · Method 3: Object.observe() · Method 4: ......
Read more >Plain js watching · Issue #656 · laravel-mix/laravel-mix - GitHub
I don't get notifications on compile but the compile happens. The other thing is that changes take effect after 2 or 3 compiles....
Read more >How to Watch for DOM Changes with JavaScript?
One way to watch for DOM changes in our JavaScript web app is to use the MutationObserver constructor. For instance, we can write:...
Read more >You SHOULD Learn Vanilla JavaScript Before JS Frameworks
You should probably learn Vanilla JS before diving into a JavaScript framework. ... Watch JavaScript: Understanding the Weird Parts.
Read more >Object.watch() for all browsers? - javascript - Stack Overflow
(Sorry for the cross-posting, but this answer I gave to a similar question works fine here). I have created a small object.watch shim...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
mix.scripts() isn’t part of your core Webpack bundle, so that’s why you’re not seeing it. We could add a notification popup though.
Notification would be nice, any update on this?