cancel
Showing results for 
Search instead for 
Did you mean: 

Grunt watch is not working properly?

Grunt watch is not working properly?

Hello,

 

I have installed Grunt on my local machine to reduce the deployment efforts.

 

As mentioned in http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css_debug.html i am running following commands:

1) grunt exex:<theme

2) grunt less:<theme>

3) grunt watch

 

after running grunt less:<theme> i am getting error "Destination relative path of css" not written because no source file were found error

 

i have defined themes.js

Fashion: {
area: 'frontend',
name: 'Fashion/clothing',
locale: 'en_US',
files: [
'css/styles-m',
'css/styles-l',
'css/email',
'css/email-inline'
],
dsl: 'less'
},

 

After running grunt watch, it just shows waiting... and no changes reflects once i refreshes the browser.

 

but after running grunt refresh my changes are reflecting.

 

Can you please tell me where i am committing mistake or why grunt watch is not working??