Using the Compiler
You can use compile.py to automatically recompile the provided .ntscript file when it is saved with changes. The compiler will use the name of the input file as the title and namespace for the datapack.
Windows
You can use this command in a default python setup on Windows:
sh
python compile.py example.ntscriptMac/Linux
You can use this command in a default python setup on Mac or Linux:
sh
python3 compile.py example.ntscript