javascript - Assets not found with sails.js -


i started sails project (with sails new project --linker) , working correctly until today.

now 404 error of javascripts, , noticed each time launch server (sails lift) .tmp/public folder deleted. didn't modified gruntfile or core files , there no errors displayed on console.

the .tmp folder deleted every time issue sails lift. sails stores public dir http server.

if remember correctly, v0.10 has linker enabled default.

try running sails new project without --linker , see shows in assets/ there should linker folder.

if not, create folder , add appropriate tags ejs file.

you can see docs v0.10 here more information specificy a


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -