The package.json created by this template looks like this.
"scripts": {
"dev": "next dev",
"build": "npm run build:spago && npm run build:next",
"build:spago": "spago build",
"build:next": "next build",
So I can build the project in one step: npm run build.
But when I run npm run dev, the next.js watcher doesn't rebuild my .purs files when necessary. Is there a way to configure next dev to rebuild the .purs files?
The
package.jsoncreated by this template looks like this.So I can build the project in one step:
npm run build.But when I run
npm run dev, the next.js watcher doesn't rebuild my.pursfiles when necessary. Is there a way to configurenext devto rebuild the.pursfiles?