Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Deferred
-
2.9.6, 3.0.4, 3.1
-
None
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-54839-master -
Description
When running the watch task in grunt on Windows, I'm seeing the AMD modules being "compiled" to the wrong folder. For example, if my plugin in is in local/test, the files are ending up in local/test/amd/local/test/amd/build.
The command I'm running is grunt watch --root=local/test/amd, which I think is correct, and the same behaviour happens whether the current working directory is the root of the Moodle codebase or the local/test/amd folder.
Just to be clear, what I am trying to do is to watch a single plugin and have its (and only its) AMD modules recompiled when I change them. I am expecting them to go directly into the amd/build folder within the plugin.