infinite loop on watch when require the output of generated css in app.js
See original GitHub issue- Laravel Mix Version: (
1.6.1) - Node Version (
v8.8.1): - NPM Version (
5.5.1): - OS: macOS High Sierra 10.13.1
Description:
I tried to require app.css file from app.js, because I have more than one language using import or require
Steps To Reproduce:
first i install new laravel project from
composer create-project --prefer-dist laravel/laravel blog
after that i run npm install
then edit blog/resources/assets/js/app.js
and add require('../../../public/css/app.css');
https://webpack.github.io/docs/stylesheets.html#using-css
then run npm run watch
the infinite loop on watch will start
how can i fix that
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
infinite loop on watch when require the output of generated ...
I am trying to understand, what is the content of ./public/css/app.css . Does this file include your custom css code? Can you change...
Read more >infinite loop on watch when require the output of generated ...
infinite loop on watch when require the output of generated css in app.js.
Read more >gulp watch task causes infinite loop - Stack Overflow
my gulp watch tasks causes an infinite loop in the terminal and it also creates a a lot more .min.js files than expected....
Read more >Loops in CSS Preprocessors | CSS-Tricks
If you've ever watched old sci-fi flicks, you know how powerful loops can be. Feed your robot nemesis an infinite loop, and kaboom....
Read more >Just-in-Time Mode - Tailwind CSS
Since JIT mode generates your CSS on-demand by scanning your template files, it's crucial that you configure the purge option in your tailwind.config.js...
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 Free
Top 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

@devcircus I’m using default setup
close it I am sorry this miss understanding from me