assets are not copied on grunt server
Closed this issue · 4 comments
As per my understand,whatever is added to the assets folder will be copied for all build steps. But I do not see my assets getting copied when when I tried to build in debug mode.
I noticed in the Gruntfile.js that 'copy:assemble' is only added to the 'dist' task.
To overcome this issue I added 'copy:assemble' as the last step for the 'build:debug' task.
I think this is an issue as assets should always be copied.
@Blessenm what task do you run when running into problems? it might be a problem with the test:*
tasks... all tasks running a server will serve the assets out of public/assets
.
@fsmanuel I am running the grunt server
command
@Blessenm and where are your assets located? in public/assets
? if so you don't have to worry about them. express will serve them.
@fsmanuel Yes Im keeping them in public/assets
. I tried everything again and it seems to work. I dont know what went wrong before. I kept checking out the Gruntfile, didnt think the express file would be handling stuff. Thanks for the help.