[Development-Progress] Comfortable development with grunt and coffee-script
-
Hey guys
I've written a gruntfile to be able to write my plugins with coffee-script and have live-reload for my theme(s)
Here you go: NodeBB Grunt Development
To enable live-reload you need to install my new plugin: nodebb-plugin-livereload
Code on, FDG
-
Great! Looking forward to seeing what else you come up with
-
For now I'm coming up with a new version of the grunt-script containing new major features:
Version 0.2
- improved configuration
- added build-in compilation of any .coffee-files within modules to equivalent .js-files
- moved configuration to json-file
Since this seems to be a nice tool for developers you may pin it somewhere? Would be
-
Since I'm a german guy it would be great if you notify me about wrong english you come across within the README.md thereby it gets more readable
Thanks!
-
Added it to our wiki https://github.com/designcreateplay/NodeBB/wiki
-
-
Version 0.3
- added npm publish and git (add/commit/push) + any shell-command before commit as
grunt publ:MODULENAME:COMMIT-MSG:PUSH
(all parameters optional) - Bump
- added npm publish and git (add/commit/push) + any shell-command before commit as
-
Version 0.4
- added
grunt init
command to copy and initialize a new plugin/theme from drafts.
This works basically by copying existing files and replace occurrences like@{id}
and@{name}
within those and their file-names.
Btw: is anybody except me using this awesome build-tool? :wink2: It should also speed up the progress of creating plugins/themes with basic js if you're to afraid of using a comfortable language
- added
-
@frissdiegurke Possibly -- for themes I use this instead: https://github.com/designcreateplay/nodebb-theme-quickstart
-
Btw: is anybody except me using this awesome build-tool?
https://www.npmjs.org/package/nodebb-plugin-livereload
24 downloads in the past month shows that there are a few people using it