Hi guys, I trying to create a CMD plugin to be able to create an "example.txt"(on my app dir) file everytime I run"sencha app watch" command.
I have created a plugin.xml file to do that.
Can someone help me to do this plugin and clarify how CMD plugin development process is in Sencha CMD 6.5.2?
Here what I have done.
the problem:
When I run sencha app watch the target script is not called
build.xml
Code:
...
<import file="${basedir}/plugin.xml"/>
...
plugin.xml
Code:
<project name="MyPlugin">
<target name="-before-watch">
<x-file-write file="${basedir}/myfile.txt">
/**
* This file is generated by Sencha Cmd and should NOT be edited.
*/
</x-file-write>
</target>
</project>