running file pug 1

running file pug

# install pug globall
sudo npm install pug --global

#get to your folder and running this :
pug -w ./ -o ./html -P 

Here is what the above code is Doing:
1. pug is the command to run the pug compiler
2. -w is the watch flag, which tells pug to watch for changes to your files
3. ./ is the folder to watch
4. -o ./html is the output folder
5. -P tells pug to compile the files with the .pug extension

Similar Posts