I have made one build process through grunt and it works fine from command prompt. Now I have a application from where i want to run this task by clicking build button via browser. so, there is any way to do this task by using javascript without using PHP and python.
Asked
Active
Viewed 158 times
0
-
With server-side JavaScript via NodeJS. – RhinoDevel Oct 24 '16 at 06:11
-
You'd need your server to either run grunt via terminal, or try running grunt through a node server. – JordyvD Oct 24 '16 at 06:23
-
This might help - http://stackoverflow.com/questions/20343331/how-to-run-grunt-build-task-by-cliking-on-button-through-browser – Hasan Peeal Oct 24 '16 at 06:39