You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
When I have the watch task running and save a (JS) file of a freshly added deferred module the task fails with 'Warning: Required config property "uglify.deferred" missing'.
If I run the default grunt everything works just fine. and my module works as expected.
The watch task is a config for js_deferred that tries o run uglify:deferred which does not exist. I assume it should be uglify:deferred_development?
The text was updated successfully, but these errors were encountered:
SpikeShape
changed the title
Ttask fails when saving a file of a deferred module
Task fails when saving a file of a deferred module
Feb 9, 2016
Would have to reconstruct but my guess is that its just the watch task that cannot handle files added after watch has been started. (gruntjs/grunt-contrib-watch#166)
Do you mean grunt-contrib-watch version? grunt-contrib-watch@0.6.1.
But I am referring to the gruntfile that is generated from the kickstart generatr:
From line 24 to 27 it configures what should happen when a js file of a deferred module is changed / saved:
but there is no 'deferred' configuration for uglify. Line 157 however introduces a configuration called 'deferred_development'.
So either the call or the configuration should be changed.
When I have the watch task running and save a (JS) file of a freshly added deferred module the task fails with 'Warning: Required config property "uglify.deferred" missing'.
If I run the default grunt everything works just fine. and my module works as expected.
The watch task is a config for js_deferred that tries o run uglify:deferred which does not exist. I assume it should be uglify:deferred_development?
The text was updated successfully, but these errors were encountered: